- 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.
Remarks:
The Slice compiler generated this skeleton interface from Slice interface ::Glacier2::SSLSessionManager.
-
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 StringGets 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.Endpointsis 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:
dispatchin interfaceObject- Parameters:
request- the incoming request- Returns:
- the outgoing response
- Throws:
UserException- if aUserExceptionis thrown, Ice will marshal it as the response payload.
-