public class S6aServerSessionImpl extends S6aSession implements ServerS6aSession, EventListener<Request,Answer>, NetworkReqListener
| Modifier and Type | Field and Description |
|---|---|
protected long |
appId |
protected IServerS6aSessionData |
sessionData |
_TX_TIMEOUT, messageFactory, sendAndStateLock, stateListeners, TIMER_NAME_MSG_TIMEOUTappSessionData, scheduler, session, sessions, sf, timerFacility| Constructor and Description |
|---|
S6aServerSessionImpl(IServerS6aSessionData sessionData,
IS6aMessageFactory fct,
ISessionFactory sf,
ServerS6aSessionListener 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.s6a.Event.Type type,
AppEvent request,
AppEvent answer) |
void |
sendAuthenticationInformationAnswer(JAuthenticationInformationAnswer answer) |
void |
sendCancelLocationRequest(JCancelLocationRequest request) |
void |
sendDeleteSubscriberDataRequest(JDeleteSubscriberDataRequest request) |
void |
sendInsertSubscriberDataRequest(JInsertSubscriberDataRequest request) |
void |
sendNotifyAnswer(JNotifyAnswer answer) |
void |
sendPurgeUEAnswer(JPurgeUEAnswer answer) |
void |
sendResetRequest(JResetRequest request) |
void |
sendUpdateLocationAnswer(JUpdateLocationAnswer answer) |
protected void |
setState(S6aSessionState 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 IServerS6aSessionData sessionData
public S6aServerSessionImpl(IServerS6aSessionData sessionData, IS6aMessageFactory fct, ISessionFactory sf, ServerS6aSessionListener lst)
public void sendAuthenticationInformationAnswer(JAuthenticationInformationAnswer answer) throws InternalException, IllegalDiameterStateException, RouteException, OverloadException
sendAuthenticationInformationAnswer in interface ServerS6aSessionInternalExceptionIllegalDiameterStateExceptionRouteExceptionOverloadExceptionpublic void sendPurgeUEAnswer(JPurgeUEAnswer answer) throws InternalException, IllegalDiameterStateException, RouteException, OverloadException
sendPurgeUEAnswer in interface ServerS6aSessionInternalExceptionIllegalDiameterStateExceptionRouteExceptionOverloadExceptionpublic void sendUpdateLocationAnswer(JUpdateLocationAnswer answer) throws InternalException, IllegalDiameterStateException, RouteException, OverloadException
sendUpdateLocationAnswer in interface ServerS6aSessionInternalExceptionIllegalDiameterStateExceptionRouteExceptionOverloadExceptionpublic void sendNotifyAnswer(JNotifyAnswer answer) throws InternalException, IllegalDiameterStateException, RouteException, OverloadException
sendNotifyAnswer in interface ServerS6aSessionInternalExceptionIllegalDiameterStateExceptionRouteExceptionOverloadExceptionpublic void sendCancelLocationRequest(JCancelLocationRequest request) throws InternalException, IllegalDiameterStateException, RouteException, OverloadException
sendCancelLocationRequest in interface ServerS6aSessionInternalExceptionIllegalDiameterStateExceptionRouteExceptionOverloadExceptionpublic void sendInsertSubscriberDataRequest(JInsertSubscriberDataRequest request) throws InternalException, IllegalDiameterStateException, RouteException, OverloadException
sendInsertSubscriberDataRequest in interface ServerS6aSessionInternalExceptionIllegalDiameterStateExceptionRouteExceptionOverloadExceptionpublic void sendDeleteSubscriberDataRequest(JDeleteSubscriberDataRequest request) throws InternalException, IllegalDiameterStateException, RouteException, OverloadException
sendDeleteSubscriberDataRequest in interface ServerS6aSessionInternalExceptionIllegalDiameterStateExceptionRouteExceptionOverloadExceptionpublic void sendResetRequest(JResetRequest request) throws InternalException, IllegalDiameterStateException, RouteException, OverloadException
sendResetRequest in interface ServerS6aSessionInternalExceptionIllegalDiameterStateExceptionRouteExceptionOverloadExceptionpublic <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.s6a.Event.Type type,
AppEvent request,
AppEvent answer)
throws InternalException
InternalExceptionprotected void setState(S6aSessionState newState)
public void onTimer(String timerName)
onTimer in class AppSessionImplpublic void release()
release in interface BaseSessionrelease in class AppSessionImplCopyright © 2016. All Rights Reserved.