Abstract
Abstract
addAbstract
createCreates a session for the client (caller) with the router. If a Glacier2.SessionManagerPrx is configured, a proxy to a Glacier2.SessionPrx object is returned to the client. Otherwise, null is returned and only an internal session (i.e., not visible to the client) is created. If a non-null session proxy is returned, it must be configured to route through the router that created it. This occurs automatically when the router is configured as the client's default router at the time the session proxy is created in the client application; otherwise, the client must configure the session proxy explicitly.
The user ID.
The password.
The Current object for the dispatch.
A promise like object representing the result of the dispatch, which resolves to:
Glacier2.CannotCreateSessionException Thrown when the session cannot be created.
Glacier2.PermissionDeniedException Thrown when an authentication or authorization failure occurs.
Abstract
createCreates a per-client session with the router. The user is authenticated through the SSL certificate(s) associated with the connection. If an Glacier2.SSLSessionManagerPrx is configured, a proxy to a Glacier2.SessionPrx object is returned to the client. Otherwise, null is returned and only an internal session (i.e., not visible to the client) is created. If a non-null session proxy is returned, it must be configured to route through the router that created it. This occurs automatically when the router is configured as the client's default router at the time the session proxy is created in the client application; otherwise, the client must configure the session proxy explicitly.
The Current object for the dispatch.
A promise like object representing the result of the dispatch, which resolves to:
Glacier2.CannotCreateSessionException Thrown when the session cannot be created.
Glacier2.PermissionDeniedException Thrown when an authentication or authorization failure occurs.
Abstract
destroyDestroys the session of the caller with this router.
The Current object for the dispatch.
A promise like object representing the result of the dispatch.
Glacier2.SessionNotExistException Thrown when no session exists for the caller (client).
Dispatches an incoming request to one of the methods of this generated class, based on the operation name carried by the request.
The incoming request.
The outgoing response (when the selected method returns a value), or a promise with the outgoing response (when the selected method returns a promise).
Abstract
getGets the idle timeout used by the server-side of the connection.
The Current object for the dispatch.
A promise like object representing the result of the dispatch, which resolves to:
Abstract
getGets a unique category that identifies the client (caller) in the router. This category must be used in the identities of all the client's callback objects.
The Current object for the dispatch.
A promise like object representing the result of the dispatch, which resolves to:
Glacier2.Server.Endpoints
is not configured.Abstract
getGets the router's client proxy, i.e. the proxy to use for forwarding requests from the client to the router. If a null proxy is returned, the client will forward requests to the router's endpoints.
The Current object for the dispatch.
A promise like object representing the result of the dispatch, which resolves to an array with the following entries:
true
, the Ice
runtime will call Ice.RouterPrx.addProxies to populate the routing table. The Ice runtime assumes the router has
a routing table when hasRoutingTable
is not set.Abstract
getGets the router's server proxy, i.e. the proxy to use for forwarding requests from the server to the router. The Ice runtime uses the endpoints of this proxy as the published endpoints of bi-dir object adapters.
The Current object for the dispatch.
A promise like object representing the result of the dispatch, which resolves to:
Abstract
getGets the idle timeout used by the server-side of the connection.
The Current object for the dispatch.
A promise like object representing the result of the dispatch, which resolves to:
Returns the Slice type ID of the most-derived interface supported by this object.
The Current object for the invocation.
The Slice type ID of the most-derived interface.
Returns the Slice type IDs of the interfaces supported by this object.
The Current object for the invocation.
The Slice type IDs of the interfaces supported by this object, in alphabetical order.
Tests whether this object supports a specific Slice interface.
The type ID of the Slice interface to test against.
The Current object for the invocation.
True if this object has the interface specified by typeID or derives from the interface specified by typeID.
Tests whether this object can be reached.
The Current object for the invocation.
Abstract
refreshKeeps the session with this router alive.
The Current object for the dispatch.
A promise like object representing the result of the dispatch.
Glacier2.SessionNotExistException Thrown when no session exists for the caller (client).
Static
ice_Obtains the Slice type ID of this type.
The return value is always "::Glacier2::Router".
The Glacier2 specialization of the Ice.RouterPrx interface.