- All Superinterfaces:
Object
Represents a router-provided object that allows an application-provided session manager to configure the
routing constraints for a session.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.zeroc.Ice.Object
Object.Ice_invokeResult
-
Method Summary
Modifier and TypeMethodDescriptionadapterIds
(Current current) Gets a proxy to the object that manages the allowable adapter identities for objects for this session.categories
(Current current) Gets a proxy to the object that manages the allowable categories for object identities for this session.void
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.int
getSessionTimeout
(Current current) Gets the session timeout.static String
Gets the type ID of the associated Slice interface.identities
(Current current) Gets a proxy to the object that manages the allowable object identities for this session.
-
Method Details
-
categories
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
StringSetPrx
object. This proxy is never null.
-
adapterIds
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
StringSetPrx
object. This proxy is never null.
-
identities
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
IdentitySetPrx
object. This proxy is never null.
-
getSessionTimeout
Gets the session timeout.- Parameters:
current
- The Current object of the incoming request.- Returns:
- The timeout.
-
destroy
Destroys the associated session.- Parameters:
current
- The Current object of the incoming request.
-
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:
dispatch
in interfaceObject
- Parameters:
request
- the incoming request- Returns:
- the outgoing response
- Throws:
UserException
- if aUserException
is thrown, Ice will marshal it as the response payload.
-