Interface ProtocolSessionAdapter<T>

Type Parameters:
T - - The specified protocol session
All Superinterfaces:
Serializable

public interface ProtocolSessionAdapter<T> extends Serializable
Adapter for a Protocol Session.
Author:
Copyright (c) 2021, Oracle and/or its affiliates. All rights reserved.
  • Method Details

    • getId

      String getId()
      Return a unique id representing the session.
      Returns:
      - The session id
    • getApplicationSessionId

      String getApplicationSessionId()
      Return the id of application session.
      Returns:
      - The application session id
    • getSessionType

      Class<T> getSessionType()
      Gets the type of the session class.
      Returns:
      - The session class
    • getSession

      T getSession()
      Gets the actual session object.
      Returns:
      Session.
    • invalidate

      void invalidate()
      Invalidate the protocol session. This method is invoked by the container to invalidate the SipApplicationSession.