Glacier2.SSLSessionManager

class Glacier2.SSLSessionManager

Bases: Object, ABC

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.

Notes

The Slice compiler generated this skeleton class from Slice interface ::Glacier2::SSLSessionManager.

abstractmethod create(info: SSLInfo, control: SessionControlPrx | None, current: Current) SessionPrx | None | Awaitable[SessionPrx | None]

Creates a new session object.

Parameters:
  • info (SSLInfo) – The SSL info.

  • control (SessionControlPrx | None) – A proxy to the session control object. This proxy is null when Glacier2.Server.Endpoints is not configured.

  • current (Ice.Current) – The Current object for the dispatch.

Returns:

A proxy to the newly created session. This proxy is never null.

Return type:

SessionPrx | None | Awaitable[SessionPrx | None]

Raises:

CannotCreateSessionException – Thrown when the session cannot be created.

static ice_staticId() str

Obtain the type ID of the Slice interface.

Returns:

The type ID.

Return type:

str