public class CxDxSessionFactoryImpl extends Object implements ICxDxSessionFactory, ClientCxDxSessionListener, ServerCxDxSessionListener, ICxDxMessageFactory, StateChangeListener<AppSession>
| Modifier and Type | Field and Description |
|---|---|
protected ClientCxDxSessionListener |
clientSessionListener |
protected ISessionDatasource |
iss |
protected ICxDxMessageFactory |
messageFactory |
protected ServerCxDxSessionListener |
serverSessionListener |
protected IAppSessionDataFactory<ICxDxSessionData> |
sessionDataFactory |
protected ISessionFactory |
sessionFactory |
protected StateChangeListener<AppSession> |
stateListener |
| Constructor and Description |
|---|
CxDxSessionFactoryImpl(SessionFactory sessionFactory) |
protected ISessionFactory sessionFactory
protected ClientCxDxSessionListener clientSessionListener
protected ServerCxDxSessionListener serverSessionListener
protected ICxDxMessageFactory messageFactory
protected StateChangeListener<AppSession> stateListener
protected ISessionDatasource iss
protected IAppSessionDataFactory<ICxDxSessionData> sessionDataFactory
public CxDxSessionFactoryImpl(SessionFactory sessionFactory)
public ClientCxDxSessionListener getClientSessionListener()
ICxDxSessionFactorygetClientSessionListener in interface ICxDxSessionFactorypublic void setClientSessionListener(ClientCxDxSessionListener clientSessionListener)
ICxDxSessionFactorysetClientSessionListener in interface ICxDxSessionFactoryclientSessionListener - the clientSessionListener to setpublic ServerCxDxSessionListener getServerSessionListener()
ICxDxSessionFactorygetServerSessionListener in interface ICxDxSessionFactorypublic void setServerSessionListener(ServerCxDxSessionListener serverSessionListener)
ICxDxSessionFactorysetServerSessionListener in interface ICxDxSessionFactoryserverSessionListener - the serverSessionListener to setpublic ICxDxMessageFactory getMessageFactory()
getMessageFactory in interface ICxDxSessionFactorypublic void setMessageFactory(ICxDxMessageFactory messageFactory)
setMessageFactory in interface ICxDxSessionFactorymessageFactory - the messageFactory to setpublic StateChangeListener<AppSession> getStateListener()
getStateListener in interface ICxDxSessionFactorypublic void setStateListener(StateChangeListener<AppSession> stateListener)
setStateListener in interface ICxDxSessionFactorystateListener - the stateListener to setpublic AppSession getSession(String sessionId, Class<? extends AppSession> aClass)
getSession in interface IAppSessionFactorypublic AppSession getNewSession(String sessionId, Class<? extends AppSession> aClass, ApplicationId applicationId, Object[] args)
getNewSession in interface IAppSessionFactorypublic JLocationInfoAnswer createLocationInfoAnswer(Answer answer)
ICxDxMessageFactorycreateLocationInfoAnswer in interface ICxDxMessageFactoryanswer - the answer to create the LIA frompublic JLocationInfoRequest createLocationInfoRequest(Request request)
ICxDxMessageFactorycreateLocationInfoRequest in interface ICxDxMessageFactoryrequest - the request to create the LIR frompublic JMultimediaAuthAnswer createMultimediaAuthAnswer(Answer answer)
ICxDxMessageFactorycreateMultimediaAuthAnswer in interface ICxDxMessageFactoryanswer - the answer to create the MAA frompublic JMultimediaAuthRequest createMultimediaAuthRequest(Request request)
ICxDxMessageFactorycreateMultimediaAuthRequest in interface ICxDxMessageFactoryrequest - the request to create the MAR frompublic JPushProfileAnswer createPushProfileAnswer(Answer answer)
ICxDxMessageFactorycreatePushProfileAnswer in interface ICxDxMessageFactoryanswer - the answer to create the PPA frompublic JPushProfileRequest createPushProfileRequest(Request request)
ICxDxMessageFactorycreatePushProfileRequest in interface ICxDxMessageFactoryrequest - the request to create the PPR frompublic JRegistrationTerminationAnswer createRegistrationTerminationAnswer(Answer answer)
ICxDxMessageFactorycreateRegistrationTerminationAnswer in interface ICxDxMessageFactoryanswer - the answer to create the RTA frompublic JRegistrationTerminationRequest createRegistrationTerminationRequest(Request request)
ICxDxMessageFactorycreateRegistrationTerminationRequest in interface ICxDxMessageFactoryrequest - the request to create the RTR frompublic JServerAssignmentAnswer createServerAssignmentAnswer(Answer answer)
ICxDxMessageFactorycreateServerAssignmentAnswer in interface ICxDxMessageFactoryanswer - the answer to create the SAA frompublic JServerAssignmentRequest createServerAssignmentRequest(Request request)
ICxDxMessageFactorycreateServerAssignmentRequest in interface ICxDxMessageFactoryrequest - the request to create the SAR frompublic JUserAuthorizationAnswer createUserAuthorizationAnswer(Answer answer)
ICxDxMessageFactorycreateUserAuthorizationAnswer in interface ICxDxMessageFactoryanswer - the answer to create the UAA frompublic JUserAuthorizationRequest createUserAuthorizationRequest(Request request)
ICxDxMessageFactorycreateUserAuthorizationRequest in interface ICxDxMessageFactoryrequest - the request to create the UAR frompublic long getApplicationId()
ICxDxMessageFactorygetApplicationId in interface ICxDxMessageFactorypublic void doLocationInformationRequest(ServerCxDxSession appSession, JLocationInfoRequest request) throws InternalException, IllegalDiameterStateException, RouteException, OverloadException
doLocationInformationRequest in interface ServerCxDxSessionListenerInternalExceptionIllegalDiameterStateExceptionRouteExceptionOverloadExceptionpublic void doMultimediaAuthRequest(ServerCxDxSession appSession, JMultimediaAuthRequest request) throws InternalException, IllegalDiameterStateException, RouteException, OverloadException
doMultimediaAuthRequest in interface ServerCxDxSessionListenerInternalExceptionIllegalDiameterStateExceptionRouteExceptionOverloadExceptionpublic void doOtherEvent(AppSession appSession, AppRequestEvent request, AppAnswerEvent answer) throws InternalException, IllegalDiameterStateException, RouteException, OverloadException
doOtherEvent in interface ClientCxDxSessionListenerdoOtherEvent in interface ServerCxDxSessionListenerInternalExceptionIllegalDiameterStateExceptionRouteExceptionOverloadExceptionpublic void doPushProfileAnswer(ServerCxDxSession appSession, JPushProfileRequest request, JPushProfileAnswer answer) throws InternalException, IllegalDiameterStateException, RouteException, OverloadException
doPushProfileAnswer in interface ServerCxDxSessionListenerInternalExceptionIllegalDiameterStateExceptionRouteExceptionOverloadExceptionpublic void doRegistrationTerminationAnswer(ServerCxDxSession appSession, JRegistrationTerminationRequest request, JRegistrationTerminationAnswer answer) throws InternalException, IllegalDiameterStateException, RouteException, OverloadException
doRegistrationTerminationAnswer in interface ServerCxDxSessionListenerInternalExceptionIllegalDiameterStateExceptionRouteExceptionOverloadExceptionpublic void doServerAssignmentRequest(ServerCxDxSession appSession, JServerAssignmentRequest request) throws InternalException, IllegalDiameterStateException, RouteException, OverloadException
doServerAssignmentRequest in interface ServerCxDxSessionListenerInternalExceptionIllegalDiameterStateExceptionRouteExceptionOverloadExceptionpublic void doUserAuthorizationRequest(ServerCxDxSession appSession, JUserAuthorizationRequest request) throws InternalException, IllegalDiameterStateException, RouteException, OverloadException
doUserAuthorizationRequest in interface ServerCxDxSessionListenerInternalExceptionIllegalDiameterStateExceptionRouteExceptionOverloadExceptionpublic void doLocationInformationAnswer(ClientCxDxSession appSession, JLocationInfoRequest request, JLocationInfoAnswer answer) throws InternalException, IllegalDiameterStateException, RouteException, OverloadException
doLocationInformationAnswer in interface ClientCxDxSessionListenerInternalExceptionIllegalDiameterStateExceptionRouteExceptionOverloadExceptionpublic void doMultimediaAuthAnswer(ClientCxDxSession appSession, JMultimediaAuthRequest request, JMultimediaAuthAnswer answer) throws InternalException, IllegalDiameterStateException, RouteException, OverloadException
doMultimediaAuthAnswer in interface ClientCxDxSessionListenerInternalExceptionIllegalDiameterStateExceptionRouteExceptionOverloadExceptionpublic void doPushProfileRequest(ClientCxDxSession appSession, JPushProfileRequest request) throws InternalException, IllegalDiameterStateException, RouteException, OverloadException
doPushProfileRequest in interface ClientCxDxSessionListenerInternalExceptionIllegalDiameterStateExceptionRouteExceptionOverloadExceptionpublic void doRegistrationTerminationRequest(ClientCxDxSession appSession, JRegistrationTerminationRequest request) throws InternalException, IllegalDiameterStateException, RouteException, OverloadException
doRegistrationTerminationRequest in interface ClientCxDxSessionListenerInternalExceptionIllegalDiameterStateExceptionRouteExceptionOverloadExceptionpublic void doServerAssignmentAnswer(ClientCxDxSession appSession, JServerAssignmentRequest request, JServerAssignmentAnswer answer) throws InternalException, IllegalDiameterStateException, RouteException, OverloadException
doServerAssignmentAnswer in interface ClientCxDxSessionListenerInternalExceptionIllegalDiameterStateExceptionRouteExceptionOverloadExceptionpublic void doUserAuthorizationAnswer(ClientCxDxSession appSession, JUserAuthorizationRequest request, JUserAuthorizationAnswer answer) throws InternalException, IllegalDiameterStateException, RouteException, OverloadException
doUserAuthorizationAnswer in interface ClientCxDxSessionListenerInternalExceptionIllegalDiameterStateExceptionRouteExceptionOverloadExceptionpublic void stateChanged(Enum oldState, Enum newState)
stateChanged in interface StateChangeListener<AppSession>public void stateChanged(AppSession source, Enum oldState, Enum newState)
stateChanged in interface StateChangeListener<AppSession>Copyright © 2016. All Rights Reserved.