Package com.bea.wcp.diameter.beans
Interface SessionSource<S>
public interface SessionSource<S>
Source of diameter sessions. Handles the association between the
SipApplicationSession and the diameter Session.- Author:
- Copyright (c) 2021, Oracle and/or its affiliates. All rights reserved.
-
Method Summary
Modifier and TypeMethodDescription<T extends Session>
TcreateSession(Application app, S sas) Creates aSessionfor the particular application using aSipApplicationSession.<T extends Session>
TcreateSession(Application app, S sas, String sessionId) Creates aSessionfor the particular application using aSipApplicationSessionwith diameter session id.getApplicationSession(Session diameterSession) Gets aSipApplicationSessionfrom aSession.
-
Method Details
-
createSession
Creates aSessionfor the particular application using aSipApplicationSession.- Parameters:
app- An instance ofApplicationsas- An instance ofSipApplicationSession- Returns:
- A new
Sessionobject
-
createSession
Creates aSessionfor the particular application using aSipApplicationSessionwith diameter session id.- Parameters:
app- An instance ofApplicationsas- An instance ofSipApplicationSessionsessionId- diameter session id- Returns:
- A new
Sessionobject
-
getApplicationSession
Gets aSipApplicationSessionfrom aSession.- Parameters:
diameterSession-Sessionobject- Returns:
SipApplicationSessionassociated with theSession
-