registerApplication

Creates the registration for this application and starts the connection.

Syntax

public void registerApplication(int timeout)

Parameters

  • timeout – Number of seconds to wait until the registration is created. If the the timeout is greater than zero and the registration is not created within the timeout period, an ApplicationTimeoutException is thrown (the operation might still be completing in a background thread).

Examples

  • Register an Application – Registers the application with a one minute waiting period.
    app.registerApplication(60);