Interface SessionControl

All Superinterfaces:
Object

public interface SessionControl extends Object
Represents a router-provided object that allows an application-provided session manager to configure the routing constraints for a session.
See Also:
  • Method Details

    • categories

      StringSetPrx categories(Current current)
      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

      StringSetPrx adapterIds(Current current)
      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

      IdentitySetPrx identities(Current current)
      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

      int getSessionTimeout(Current current)
      Gets the session timeout.
      Parameters:
      current - The Current object of the incoming request.
      Returns:
      The timeout.
    • destroy

      void destroy(Current current)
      Destroys the associated session.
      Parameters:
      current - The Current object of the incoming request.
    • ice_staticId

      static String ice_staticId()
      Gets the type ID of the associated Slice interface.
      Returns:
      the string "::Glacier2::SessionControl"
    • dispatch

      default CompletionStage<OutgoingResponse> dispatch(IncomingRequest request) throws UserException
      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 interface Object
      Parameters:
      request - the incoming request
      Returns:
      the outgoing response
      Throws:
      UserException - if a UserException is thrown, Ice will marshal it as the response payload.