Interface ProtocolSessionAdapter<T>
- Type Parameters:
T- - The specified protocol session
- All Superinterfaces:
Serializable
Adapter for a Protocol Session.
- Author:
- Copyright (c) 2021, Oracle and/or its affiliates. All rights reserved.
-
Method Summary
Modifier and TypeMethodDescriptionReturn the id of application session.getId()Return a unique id representing the session.Gets the actual session object.Gets the type of the session class.voidInvalidate the protocol session.
-
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
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.
-