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()
IS6aSessionFactory
getServerSessionListener
in interface IS6aSessionFactory
public void setServerSessionListener(ServerS6aSessionListener serverSessionListener)
IS6aSessionFactory
setServerSessionListener
in interface IS6aSessionFactory
serverSessionListener
- the serverSessionListener to setpublic ClientS6aSessionListener getClientSessionListener()
IS6aSessionFactory
getClientSessionListener
in interface IS6aSessionFactory
public void setClientSessionListener(ClientS6aSessionListener clientSessionListener)
IS6aSessionFactory
setClientSessionListener
in interface IS6aSessionFactory
serverSessionListener
- the serverSessionListener to setpublic IS6aMessageFactory getMessageFactory()
getMessageFactory
in interface IS6aSessionFactory
public void setMessageFactory(IS6aMessageFactory messageFactory)
setMessageFactory
in interface IS6aSessionFactory
messageFactory
- the messageFactory to setpublic StateChangeListener<AppSession> getStateListener()
getStateListener
in interface IS6aSessionFactory
public void setStateListener(StateChangeListener<AppSession> stateListener)
setStateListener
in interface IS6aSessionFactory
stateListener
- the stateListener to setpublic AppSession getSession(String sessionId, Class<? extends AppSession> aClass)
getSession
in interface IAppSessionFactory
public AppSession getNewSession(String sessionId, Class<? extends AppSession> aClass, ApplicationId applicationId, Object[] args)
getNewSession
in interface IAppSessionFactory
public void stateChanged(Enum oldState, Enum newState)
stateChanged
in interface StateChangeListener<AppSession>
public long getApplicationId()
IS6aMessageFactory
getApplicationId
in interface IS6aMessageFactory
public void stateChanged(AppSession source, Enum oldState, Enum newState)
stateChanged
in interface StateChangeListener<AppSession>
public JAuthenticationInformationAnswer createAuthenticationInformationAnswer(Answer answer)
createAuthenticationInformationAnswer
in interface IS6aMessageFactory
public JAuthenticationInformationRequest createAuthenticationInformationRequest(Request request)
createAuthenticationInformationRequest
in interface IS6aMessageFactory
public JUpdateLocationRequest createUpdateLocationRequest(Request request)
createUpdateLocationRequest
in interface IS6aMessageFactory
public JUpdateLocationAnswer createUpdateLocationAnswer(Answer answer)
createUpdateLocationAnswer
in interface IS6aMessageFactory
public JPurgeUERequest createPurgeUERequest(Request request)
createPurgeUERequest
in interface IS6aMessageFactory
public JPurgeUEAnswer createPurgeUEAnswer(Answer answer)
createPurgeUEAnswer
in interface IS6aMessageFactory
public JCancelLocationRequest createCancelLocationRequest(Request request)
createCancelLocationRequest
in interface IS6aMessageFactory
public JCancelLocationAnswer createCancelLocationAnswer(Answer answer)
createCancelLocationAnswer
in interface IS6aMessageFactory
public JInsertSubscriberDataRequest createInsertSubscriberDataRequest(Request request)
createInsertSubscriberDataRequest
in interface IS6aMessageFactory
public JInsertSubscriberDataAnswer createInsertSubscriberDataAnswer(Answer answer)
createInsertSubscriberDataAnswer
in interface IS6aMessageFactory
public JDeleteSubscriberDataRequest createDeleteSubscriberDataRequest(Request request)
createDeleteSubscriberDataRequest
in interface IS6aMessageFactory
public JDeleteSubscriberDataAnswer createDeleteSubscriberDataAnswer(Answer answer)
createDeleteSubscriberDataAnswer
in interface IS6aMessageFactory
public JResetRequest createResetRequest(Request request)
createResetRequest
in interface IS6aMessageFactory
public JResetAnswer createResetAnswer(Answer answer)
createResetAnswer
in interface IS6aMessageFactory
public JNotifyRequest createNotifyRequest(Request request)
createNotifyRequest
in interface IS6aMessageFactory
public JNotifyAnswer createNotifyAnswer(Answer answer)
createNotifyAnswer
in interface IS6aMessageFactory
public void doAuthenticationInformationRequestEvent(ServerS6aSession appSession, JAuthenticationInformationRequest request) throws InternalException, IllegalDiameterStateException, RouteException, OverloadException
doAuthenticationInformationRequestEvent
in interface ServerS6aSessionListener
InternalException
IllegalDiameterStateException
RouteException
OverloadException
public void doPurgeUERequestEvent(ServerS6aSession appSession, JPurgeUERequest request) throws InternalException, IllegalDiameterStateException, RouteException, OverloadException
doPurgeUERequestEvent
in interface ServerS6aSessionListener
InternalException
IllegalDiameterStateException
RouteException
OverloadException
public void doUpdateLocationRequestEvent(ServerS6aSession appSession, JUpdateLocationRequest request) throws InternalException, IllegalDiameterStateException, RouteException, OverloadException
doUpdateLocationRequestEvent
in interface ServerS6aSessionListener
InternalException
IllegalDiameterStateException
RouteException
OverloadException
public void doNotifyRequestEvent(ServerS6aSession appSession, JNotifyRequest request) throws InternalException, IllegalDiameterStateException, RouteException, OverloadException
doNotifyRequestEvent
in interface ServerS6aSessionListener
InternalException
IllegalDiameterStateException
RouteException
OverloadException
public void doCancelLocationAnswerEvent(ServerS6aSession appSession, JCancelLocationRequest request, JCancelLocationAnswer answer) throws InternalException, IllegalDiameterStateException, RouteException, OverloadException
doCancelLocationAnswerEvent
in interface ServerS6aSessionListener
InternalException
IllegalDiameterStateException
RouteException
OverloadException
public void doInsertSubscriberDataAnswerEvent(ServerS6aSession appSession, JInsertSubscriberDataRequest request, JInsertSubscriberDataAnswer answer) throws InternalException, IllegalDiameterStateException, RouteException, OverloadException
doInsertSubscriberDataAnswerEvent
in interface ServerS6aSessionListener
InternalException
IllegalDiameterStateException
RouteException
OverloadException
public void doDeleteSubscriberDataAnswerEvent(ServerS6aSession appSession, JDeleteSubscriberDataRequest request, JDeleteSubscriberDataAnswer answer) throws InternalException, IllegalDiameterStateException, RouteException, OverloadException
doDeleteSubscriberDataAnswerEvent
in interface ServerS6aSessionListener
InternalException
IllegalDiameterStateException
RouteException
OverloadException
public void doResetAnswerEvent(ServerS6aSession appSession, JResetRequest request, JResetAnswer answer) throws InternalException, IllegalDiameterStateException, RouteException, OverloadException
doResetAnswerEvent
in interface ServerS6aSessionListener
InternalException
IllegalDiameterStateException
RouteException
OverloadException
public void doOtherEvent(AppSession appSession, AppRequestEvent request, AppAnswerEvent answer) throws InternalException, IllegalDiameterStateException, RouteException, OverloadException
doOtherEvent
in interface ClientS6aSessionListener
doOtherEvent
in interface ServerS6aSessionListener
InternalException
IllegalDiameterStateException
RouteException
OverloadException
public void doCancelLocationRequestEvent(ClientS6aSession appSession, JCancelLocationRequest request) throws InternalException, IllegalDiameterStateException, RouteException, OverloadException
doCancelLocationRequestEvent
in interface ClientS6aSessionListener
InternalException
IllegalDiameterStateException
RouteException
OverloadException
public void doInsertSubscriberDataRequestEvent(ClientS6aSession appSession, JInsertSubscriberDataRequest request) throws InternalException, IllegalDiameterStateException, RouteException, OverloadException
doInsertSubscriberDataRequestEvent
in interface ClientS6aSessionListener
InternalException
IllegalDiameterStateException
RouteException
OverloadException
public void doDeleteSubscriberDataRequestEvent(ClientS6aSession appSession, JDeleteSubscriberDataRequest request) throws InternalException, IllegalDiameterStateException, RouteException, OverloadException
doDeleteSubscriberDataRequestEvent
in interface ClientS6aSessionListener
InternalException
IllegalDiameterStateException
RouteException
OverloadException
public void doResetRequestEvent(ClientS6aSession appSession, JResetRequest request) throws InternalException, IllegalDiameterStateException, RouteException, OverloadException
doResetRequestEvent
in interface ClientS6aSessionListener
InternalException
IllegalDiameterStateException
RouteException
OverloadException
public void doAuthenticationInformationAnswerEvent(ClientS6aSession appSession, JAuthenticationInformationRequest request, JAuthenticationInformationAnswer answer) throws InternalException, IllegalDiameterStateException, RouteException, OverloadException
doAuthenticationInformationAnswerEvent
in interface ClientS6aSessionListener
InternalException
IllegalDiameterStateException
RouteException
OverloadException
public void doPurgeUEAnswerEvent(ClientS6aSession appSession, JPurgeUERequest request, JPurgeUEAnswer answer) throws InternalException, IllegalDiameterStateException, RouteException, OverloadException
doPurgeUEAnswerEvent
in interface ClientS6aSessionListener
InternalException
IllegalDiameterStateException
RouteException
OverloadException
public void doUpdateLocationAnswerEvent(ClientS6aSession appSession, JUpdateLocationRequest request, JUpdateLocationAnswer answer) throws InternalException, IllegalDiameterStateException, RouteException, OverloadException
doUpdateLocationAnswerEvent
in interface ClientS6aSessionListener
InternalException
IllegalDiameterStateException
RouteException
OverloadException
public void doNotifyAnswerEvent(ClientS6aSession appSession, JNotifyRequest request, JNotifyAnswer answer) throws InternalException, IllegalDiameterStateException, RouteException, OverloadException
doNotifyAnswerEvent
in interface ClientS6aSessionListener
InternalException
IllegalDiameterStateException
RouteException
OverloadException
Copyright © 2016. All Rights Reserved.