- All Superinterfaces:
Object
Represents an application-provided factory for session objects. You can configure a Glacier2 router with your
own SSLSessionManager implementation; this router will then return the sessions created by this session manager
to its clients.
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.zeroc.Ice.Object
Object.Ice_invokeResult
-
Method Summary
Modifier and TypeMethodDescriptioncreate
(SSLInfo info, SessionControlPrx control, Current current) Creates a new session object.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.static String
Gets the type ID of the associated Slice interface.
-
Method Details
-
create
SessionPrx create(SSLInfo info, SessionControlPrx control, Current current) throws CannotCreateSessionException Creates a new session object.- Parameters:
info
- The SSL info.control
- A proxy to the session control object. This proxy is null whenGlacier2.Server.Endpoints
is not configured.current
- The Current object of the incoming request.- Returns:
- A proxy to the newly created session. This proxy is never null.
- Throws:
CannotCreateSessionException
- Thrown when the session cannot be created.
-
ice_staticId
Gets the type ID of the associated Slice interface.- Returns:
- the string "::Glacier2::SSLSessionManager"
-
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.
-