Abstract
Abstract
addDispatches 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 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:
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.
Static
ice_Obtains the Slice type ID of this type.
The return value is always "::Ice::Router".
Represents an intermediary object that routes requests and replies between clients and Ice objects that are not directly reachable from these clients.