Find a location for the given Connection.
The connection to be located
Location as Promise if available
List the registered components in location service.
Location[] as Promise
List the registered components based on this component type.
list components of this componentType
Location[] as Promise
List the registered components based on the connection type.
list components of this connection type
Location[] as Promise
List the registered components based on the hostname. Hostname can be IP or URL.
list components of this hostname
Location[] as Promise
Resolves the location for a connection, if not found waits for the event to arrive within specified time limit. Returns undefined if both failed.
The Connection to be located
Time within which the connection to be resolved
TimeUnit Ex: millis, seconds, hours, etc.
Location as Promise if available
Tracks the connection and send events for modification or removal of its location.
The Connection to be tracked
Subscription which provides a handle to cancel the subscription
Tracks the connection and send events for modification or removal of its location.
A function which gets triggered whenever a tracking event is received
a optional error callback which gets called on receiving error. it can be Parsing error or a Runtime error [for ex. Gateway exception]
a optional close callback which gets called when the connection is closed.
Subscription which provides a handle to cancel the subscription
A secured API which unregisters a connection from the location service.
The connection to be unregistered
Done as Promise
Generated using TypeDoc
A Location Service Client API. This model provides promise based APIs for managing service registrations.