- All Superinterfaces:
Object
Represents a router-provided object that allows an application-provided session manager to configure the
routing constraints for a session.
Remarks:
The Slice compiler generated this skeleton interface from Slice interface ::Glacier2::SessionControl.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.zeroc.Ice.Object
Object.Ice_invokeResult -
Method Summary
Modifier and TypeMethodDescriptionadapterIdsAsync(Current current) Gets a proxy to the object that manages the allowable adapter identities for objects for this session.categoriesAsync(Current current) Gets a proxy to the object that manages the allowable categories for object identities for this session.destroyAsync(Current current) Destroys the associated session.default CompletionStage<OutgoingResponse>dispatch(IncomingRequest request) Dispatches an incoming request to one of the methods of this generated interface, based on the operation name carried by the request.getSessionTimeoutAsync(Current current) Gets the session timeout.static StringGets the type ID of the associated Slice interface.identitiesAsync(Current current) Gets a proxy to the object that manages the allowable object identities for this session.
-
Method Details
-
categoriesAsync
Gets a proxy to the object that manages the allowable categories for object identities for this session.- Parameters:
current- the Current object of the incoming request- Returns:
- A proxy to a
StringSetPrxobject. This proxy is never null.
-
adapterIdsAsync
Gets a proxy to the object that manages the allowable adapter identities for objects for this session.- Parameters:
current- the Current object of the incoming request- Returns:
- A proxy to a
StringSetPrxobject. This proxy is never null.
-
identitiesAsync
Gets a proxy to the object that manages the allowable object identities for this session.- Parameters:
current- the Current object of the incoming request- Returns:
- A proxy to an
IdentitySetPrxobject. This proxy is never null.
-
getSessionTimeoutAsync
Gets the session timeout.- Parameters:
current- the Current object of the incoming request- Returns:
- The timeout.
-
destroyAsync
Destroys the associated session.- Parameters:
current- the Current object of the incoming request- Returns:
- a completion stage that the servant will complete when the invocation completes
-
ice_staticId
Gets the type ID of the associated Slice interface.- Returns:
- the string "::Glacier2::SessionControl"
-
dispatch
Dispatches an incoming request to one of the methods of this generated interface, based on the operation name carried by the request.- Specified by:
dispatchin interfaceObject- Parameters:
request- the incoming request- Returns:
- the outgoing response
- Throws:
UserException- if aUserExceptionis thrown, Ice will marshal it as the response payload.
-