public class S13SessionFactoryImpl extends Object implements IS13SessionFactory, ServerS13SessionListener, ClientS13SessionListener, IS13MessageFactory, StateChangeListener<AppSession>
| Modifier and Type | Field and Description |
|---|---|
protected ClientS13SessionListener |
clientSessionListener |
protected ISessionDatasource |
iss |
protected IS13MessageFactory |
messageFactory |
protected ServerS13SessionListener |
serverSessionListener |
protected IAppSessionDataFactory<IS13SessionData> |
sessionDataFactory |
protected ISessionFactory |
sessionFactory |
protected StateChangeListener<AppSession> |
stateListener |
| Constructor and Description |
|---|
S13SessionFactoryImpl() |
S13SessionFactoryImpl(SessionFactory sessionFactory) |
protected ISessionFactory sessionFactory
protected ServerS13SessionListener serverSessionListener
protected ClientS13SessionListener clientSessionListener
protected IS13MessageFactory messageFactory
protected StateChangeListener<AppSession> stateListener
protected ISessionDatasource iss
protected IAppSessionDataFactory<IS13SessionData> sessionDataFactory
public S13SessionFactoryImpl()
public S13SessionFactoryImpl(SessionFactory sessionFactory)
public void init(SessionFactory sessionFactory)
public ServerS13SessionListener getServerSessionListener()
IS13SessionFactorygetServerSessionListener in interface IS13SessionFactorypublic void setServerSessionListener(ServerS13SessionListener serverSessionListener)
IS13SessionFactorysetServerSessionListener in interface IS13SessionFactoryserverSessionListener - the serverSessionListener to setpublic ClientS13SessionListener getClientSessionListener()
IS13SessionFactorygetClientSessionListener in interface IS13SessionFactorypublic void setClientSessionListener(ClientS13SessionListener clientSessionListener)
IS13SessionFactorysetClientSessionListener in interface IS13SessionFactoryserverSessionListener - the serverSessionListener to setpublic IS13MessageFactory getMessageFactory()
getMessageFactory in interface IS13SessionFactorypublic void setMessageFactory(IS13MessageFactory messageFactory)
setMessageFactory in interface IS13SessionFactorymessageFactory - the messageFactory to setpublic StateChangeListener<AppSession> getStateListener()
getStateListener in interface IS13SessionFactorypublic void setStateListener(StateChangeListener<AppSession> stateListener)
setStateListener in interface IS13SessionFactorystateListener - 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()
IS13MessageFactorygetApplicationId in interface IS13MessageFactorypublic void stateChanged(AppSession source, Enum oldState, Enum newState)
stateChanged in interface StateChangeListener<AppSession>public JMEIdentityCheckAnswer createMEIdentityCheckAnswer(Answer answer)
createMEIdentityCheckAnswer in interface IS13MessageFactorypublic JMEIdentityCheckRequest createMEIdentityCheckRequest(Request request)
createMEIdentityCheckRequest in interface IS13MessageFactorypublic void doMEIdentityCheckRequestEvent(ServerS13Session appSession, JMEIdentityCheckRequest request) throws InternalException, IllegalDiameterStateException, RouteException, OverloadException
doMEIdentityCheckRequestEvent in interface ServerS13SessionListenerInternalExceptionIllegalDiameterStateExceptionRouteExceptionOverloadExceptionpublic void doOtherEvent(AppSession appSession, AppRequestEvent request, AppAnswerEvent answer) throws InternalException, IllegalDiameterStateException, RouteException, OverloadException
doOtherEvent in interface ClientS13SessionListenerdoOtherEvent in interface ServerS13SessionListenerInternalExceptionIllegalDiameterStateExceptionRouteExceptionOverloadExceptionpublic void doMEIdentityCheckAnswerEvent(ClientS13Session appSession, JMEIdentityCheckRequest request, JMEIdentityCheckAnswer answer) throws InternalException, IllegalDiameterStateException, RouteException, OverloadException
doMEIdentityCheckAnswerEvent in interface ClientS13SessionListenerInternalExceptionIllegalDiameterStateExceptionRouteExceptionOverloadExceptionCopyright © 2016. All Rights Reserved.