public class S6aSessionFactoryImpl extends Object implements IS6aSessionFactory, ServerS6aSessionListener, ClientS6aSessionListener, IS6aMessageFactory, StateChangeListener<AppSession>
| Modifier and Type | Field and Description |
|---|---|
protected ClientS6aSessionListener |
clientSessionListener |
protected ISessionDatasource |
iss |
protected IS6aMessageFactory |
messageFactory |
protected ServerS6aSessionListener |
serverSessionListener |
protected IAppSessionDataFactory<IS6aSessionData> |
sessionDataFactory |
protected ISessionFactory |
sessionFactory |
protected StateChangeListener<AppSession> |
stateListener |
| Constructor and Description |
|---|
S6aSessionFactoryImpl(SessionFactory sessionFactory) |
protected ISessionFactory sessionFactory
protected ServerS6aSessionListener serverSessionListener
protected ClientS6aSessionListener clientSessionListener
protected IS6aMessageFactory messageFactory
protected StateChangeListener<AppSession> stateListener
protected ISessionDatasource iss
protected IAppSessionDataFactory<IS6aSessionData> sessionDataFactory
public S6aSessionFactoryImpl(SessionFactory sessionFactory)
public ServerS6aSessionListener getServerSessionListener()
IS6aSessionFactorygetServerSessionListener in interface IS6aSessionFactorypublic void setServerSessionListener(ServerS6aSessionListener serverSessionListener)
IS6aSessionFactorysetServerSessionListener in interface IS6aSessionFactoryserverSessionListener - the serverSessionListener to setpublic ClientS6aSessionListener getClientSessionListener()
IS6aSessionFactorygetClientSessionListener in interface IS6aSessionFactorypublic void setClientSessionListener(ClientS6aSessionListener clientSessionListener)
IS6aSessionFactorysetClientSessionListener in interface IS6aSessionFactoryserverSessionListener - the serverSessionListener to setpublic IS6aMessageFactory getMessageFactory()
getMessageFactory in interface IS6aSessionFactorypublic void setMessageFactory(IS6aMessageFactory messageFactory)
setMessageFactory in interface IS6aSessionFactorymessageFactory - the messageFactory to setpublic StateChangeListener<AppSession> getStateListener()
getStateListener in interface IS6aSessionFactorypublic void setStateListener(StateChangeListener<AppSession> stateListener)
setStateListener in interface IS6aSessionFactorystateListener - 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 void stateChanged(Enum oldState, Enum newState)
stateChanged in interface StateChangeListener<AppSession>public long getApplicationId()
IS6aMessageFactorygetApplicationId in interface IS6aMessageFactorypublic void stateChanged(AppSession source, Enum oldState, Enum newState)
stateChanged in interface StateChangeListener<AppSession>public JAuthenticationInformationAnswer createAuthenticationInformationAnswer(Answer answer)
createAuthenticationInformationAnswer in interface IS6aMessageFactorypublic JAuthenticationInformationRequest createAuthenticationInformationRequest(Request request)
createAuthenticationInformationRequest in interface IS6aMessageFactorypublic JUpdateLocationRequest createUpdateLocationRequest(Request request)
createUpdateLocationRequest in interface IS6aMessageFactorypublic JUpdateLocationAnswer createUpdateLocationAnswer(Answer answer)
createUpdateLocationAnswer in interface IS6aMessageFactorypublic JPurgeUERequest createPurgeUERequest(Request request)
createPurgeUERequest in interface IS6aMessageFactorypublic JPurgeUEAnswer createPurgeUEAnswer(Answer answer)
createPurgeUEAnswer in interface IS6aMessageFactorypublic JCancelLocationRequest createCancelLocationRequest(Request request)
createCancelLocationRequest in interface IS6aMessageFactorypublic JCancelLocationAnswer createCancelLocationAnswer(Answer answer)
createCancelLocationAnswer in interface IS6aMessageFactorypublic JInsertSubscriberDataRequest createInsertSubscriberDataRequest(Request request)
createInsertSubscriberDataRequest in interface IS6aMessageFactorypublic JInsertSubscriberDataAnswer createInsertSubscriberDataAnswer(Answer answer)
createInsertSubscriberDataAnswer in interface IS6aMessageFactorypublic JDeleteSubscriberDataRequest createDeleteSubscriberDataRequest(Request request)
createDeleteSubscriberDataRequest in interface IS6aMessageFactorypublic JDeleteSubscriberDataAnswer createDeleteSubscriberDataAnswer(Answer answer)
createDeleteSubscriberDataAnswer in interface IS6aMessageFactorypublic JResetRequest createResetRequest(Request request)
createResetRequest in interface IS6aMessageFactorypublic JResetAnswer createResetAnswer(Answer answer)
createResetAnswer in interface IS6aMessageFactorypublic JNotifyRequest createNotifyRequest(Request request)
createNotifyRequest in interface IS6aMessageFactorypublic JNotifyAnswer createNotifyAnswer(Answer answer)
createNotifyAnswer in interface IS6aMessageFactorypublic void doAuthenticationInformationRequestEvent(ServerS6aSession appSession, JAuthenticationInformationRequest request) throws InternalException, IllegalDiameterStateException, RouteException, OverloadException
doAuthenticationInformationRequestEvent in interface ServerS6aSessionListenerInternalExceptionIllegalDiameterStateExceptionRouteExceptionOverloadExceptionpublic void doPurgeUERequestEvent(ServerS6aSession appSession, JPurgeUERequest request) throws InternalException, IllegalDiameterStateException, RouteException, OverloadException
doPurgeUERequestEvent in interface ServerS6aSessionListenerInternalExceptionIllegalDiameterStateExceptionRouteExceptionOverloadExceptionpublic void doUpdateLocationRequestEvent(ServerS6aSession appSession, JUpdateLocationRequest request) throws InternalException, IllegalDiameterStateException, RouteException, OverloadException
doUpdateLocationRequestEvent in interface ServerS6aSessionListenerInternalExceptionIllegalDiameterStateExceptionRouteExceptionOverloadExceptionpublic void doNotifyRequestEvent(ServerS6aSession appSession, JNotifyRequest request) throws InternalException, IllegalDiameterStateException, RouteException, OverloadException
doNotifyRequestEvent in interface ServerS6aSessionListenerInternalExceptionIllegalDiameterStateExceptionRouteExceptionOverloadExceptionpublic void doCancelLocationAnswerEvent(ServerS6aSession appSession, JCancelLocationRequest request, JCancelLocationAnswer answer) throws InternalException, IllegalDiameterStateException, RouteException, OverloadException
doCancelLocationAnswerEvent in interface ServerS6aSessionListenerInternalExceptionIllegalDiameterStateExceptionRouteExceptionOverloadExceptionpublic void doInsertSubscriberDataAnswerEvent(ServerS6aSession appSession, JInsertSubscriberDataRequest request, JInsertSubscriberDataAnswer answer) throws InternalException, IllegalDiameterStateException, RouteException, OverloadException
doInsertSubscriberDataAnswerEvent in interface ServerS6aSessionListenerInternalExceptionIllegalDiameterStateExceptionRouteExceptionOverloadExceptionpublic void doDeleteSubscriberDataAnswerEvent(ServerS6aSession appSession, JDeleteSubscriberDataRequest request, JDeleteSubscriberDataAnswer answer) throws InternalException, IllegalDiameterStateException, RouteException, OverloadException
doDeleteSubscriberDataAnswerEvent in interface ServerS6aSessionListenerInternalExceptionIllegalDiameterStateExceptionRouteExceptionOverloadExceptionpublic void doResetAnswerEvent(ServerS6aSession appSession, JResetRequest request, JResetAnswer answer) throws InternalException, IllegalDiameterStateException, RouteException, OverloadException
doResetAnswerEvent in interface ServerS6aSessionListenerInternalExceptionIllegalDiameterStateExceptionRouteExceptionOverloadExceptionpublic void doOtherEvent(AppSession appSession, AppRequestEvent request, AppAnswerEvent answer) throws InternalException, IllegalDiameterStateException, RouteException, OverloadException
doOtherEvent in interface ClientS6aSessionListenerdoOtherEvent in interface ServerS6aSessionListenerInternalExceptionIllegalDiameterStateExceptionRouteExceptionOverloadExceptionpublic void doCancelLocationRequestEvent(ClientS6aSession appSession, JCancelLocationRequest request) throws InternalException, IllegalDiameterStateException, RouteException, OverloadException
doCancelLocationRequestEvent in interface ClientS6aSessionListenerInternalExceptionIllegalDiameterStateExceptionRouteExceptionOverloadExceptionpublic void doInsertSubscriberDataRequestEvent(ClientS6aSession appSession, JInsertSubscriberDataRequest request) throws InternalException, IllegalDiameterStateException, RouteException, OverloadException
doInsertSubscriberDataRequestEvent in interface ClientS6aSessionListenerInternalExceptionIllegalDiameterStateExceptionRouteExceptionOverloadExceptionpublic void doDeleteSubscriberDataRequestEvent(ClientS6aSession appSession, JDeleteSubscriberDataRequest request) throws InternalException, IllegalDiameterStateException, RouteException, OverloadException
doDeleteSubscriberDataRequestEvent in interface ClientS6aSessionListenerInternalExceptionIllegalDiameterStateExceptionRouteExceptionOverloadExceptionpublic void doResetRequestEvent(ClientS6aSession appSession, JResetRequest request) throws InternalException, IllegalDiameterStateException, RouteException, OverloadException
doResetRequestEvent in interface ClientS6aSessionListenerInternalExceptionIllegalDiameterStateExceptionRouteExceptionOverloadExceptionpublic void doAuthenticationInformationAnswerEvent(ClientS6aSession appSession, JAuthenticationInformationRequest request, JAuthenticationInformationAnswer answer) throws InternalException, IllegalDiameterStateException, RouteException, OverloadException
doAuthenticationInformationAnswerEvent in interface ClientS6aSessionListenerInternalExceptionIllegalDiameterStateExceptionRouteExceptionOverloadExceptionpublic void doPurgeUEAnswerEvent(ClientS6aSession appSession, JPurgeUERequest request, JPurgeUEAnswer answer) throws InternalException, IllegalDiameterStateException, RouteException, OverloadException
doPurgeUEAnswerEvent in interface ClientS6aSessionListenerInternalExceptionIllegalDiameterStateExceptionRouteExceptionOverloadExceptionpublic void doUpdateLocationAnswerEvent(ClientS6aSession appSession, JUpdateLocationRequest request, JUpdateLocationAnswer answer) throws InternalException, IllegalDiameterStateException, RouteException, OverloadException
doUpdateLocationAnswerEvent in interface ClientS6aSessionListenerInternalExceptionIllegalDiameterStateExceptionRouteExceptionOverloadExceptionpublic void doNotifyAnswerEvent(ClientS6aSession appSession, JNotifyRequest request, JNotifyAnswer answer) throws InternalException, IllegalDiameterStateException, RouteException, OverloadException
doNotifyAnswerEvent in interface ClientS6aSessionListenerInternalExceptionIllegalDiameterStateExceptionRouteExceptionOverloadExceptionCopyright © 2016. All Rights Reserved.