public class S13ServerSessionImpl extends S13Session implements ServerS13Session, EventListener<Request,Answer>, NetworkReqListener
| Modifier and Type | Field and Description |
|---|---|
protected long |
appId |
protected IServerS13SessionData |
sessionData |
_TX_TIMEOUT, messageFactory, sendAndStateLock, stateListeners, TIMER_NAME_MSG_TIMEOUTappSessionData, scheduler, session, sessions, sf, timerFacility| Constructor and Description |
|---|
S13ServerSessionImpl(IServerS13SessionData sessionData,
IS13MessageFactory fct,
ISessionFactory sf,
ServerS13SessionListener lst) |
| Modifier and Type | Method and Description |
|---|---|
<E> E |
getState(Class<E> stateType) |
boolean |
handleEvent(StateEvent event) |
void |
onTimer(String timerName) |
Answer |
processRequest(Request request) |
void |
receivedSuccessMessage(Request request,
Answer answer) |
void |
release() |
protected void |
send(org.jdiameter.server.impl.app.s13.Event.Type type,
AppEvent request,
AppEvent answer) |
void |
sendMEIdentityCheckAnswer(JMEIdentityCheckAnswer answer) |
protected void |
setState(S13SessionState newState) |
void |
timeoutExpired(Request request) |
addStateChangeNotification, cancelMsgTimer, equals, hashCode, isReplicable, isStateless, removeStateChangeNotification, startMsgTimergetCreationTime, getLastAccessedTime, getSessionAppId, getSessionId, getSessions, isAppSession, isValidclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitgetSessionAppId, getSessions, isStatelessgetCreationTime, getLastAccessedTime, getSessionId, isAppSession, isReplicable, isValidaddStateChangeNotification, removeStateChangeNotificationprotected long appId
protected IServerS13SessionData sessionData
public S13ServerSessionImpl(IServerS13SessionData sessionData, IS13MessageFactory fct, ISessionFactory sf, ServerS13SessionListener lst)
public void sendMEIdentityCheckAnswer(JMEIdentityCheckAnswer answer) throws InternalException, IllegalDiameterStateException, RouteException, OverloadException
sendMEIdentityCheckAnswer in interface ServerS13SessionInternalExceptionIllegalDiameterStateExceptionRouteExceptionOverloadExceptionpublic <E> E getState(Class<E> stateType)
getState in interface StateMachinepublic boolean handleEvent(StateEvent event) throws InternalException, OverloadException
handleEvent in interface StateMachineInternalExceptionOverloadExceptionpublic void receivedSuccessMessage(Request request, Answer answer)
receivedSuccessMessage in interface EventListener<Request,Answer>public void timeoutExpired(Request request)
timeoutExpired in interface EventListener<Request,Answer>public Answer processRequest(Request request)
processRequest in interface NetworkReqListenerprotected void send(org.jdiameter.server.impl.app.s13.Event.Type type,
AppEvent request,
AppEvent answer)
throws InternalException
InternalExceptionprotected void setState(S13SessionState newState)
public void onTimer(String timerName)
onTimer in class AppSessionImplpublic void release()
release in interface BaseSessionrelease in class AppSessionImplCopyright © 2016. All Rights Reserved.