public class S6aClientSessionImpl extends S6aSession implements ClientS6aSession, EventListener<Request,Answer>, NetworkReqListener
| Modifier and Type | Field and Description |
|---|---|
protected long |
appId |
protected IClientS6aSessionData |
sessionData |
_TX_TIMEOUT, messageFactory, sendAndStateLock, stateListeners, TIMER_NAME_MSG_TIMEOUTappSessionData, scheduler, session, sessions, sf, timerFacility| Constructor and Description |
|---|
S6aClientSessionImpl(IClientS6aSessionData sessionData,
IS6aMessageFactory fct,
ISessionFactory sf,
ClientS6aSessionListener lst) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
<E> E |
getState(Class<E> stateType) |
boolean |
handleEvent(StateEvent event) |
int |
hashCode() |
void |
onTimer(String timerName) |
Answer |
processRequest(Request request) |
void |
receivedSuccessMessage(Request request,
Answer answer) |
void |
release() |
protected void |
send(org.jdiameter.client.impl.app.s6a.Event.Type type,
AppEvent request,
AppEvent answer) |
void |
sendAuthenticationInformationRequest(JAuthenticationInformationRequest request) |
void |
sendCancelLocationAnswer(JCancelLocationAnswer answer) |
void |
sendDeleteSubscriberDataAnswer(JDeleteSubscriberDataAnswer answer) |
void |
sendInsertSubscriberDataAnswer(JInsertSubscriberDataAnswer answer) |
void |
sendNotifyRequest(JNotifyRequest request) |
void |
sendPurgeUERequest(JPurgeUERequest request) |
void |
sendResetAnswer(JResetAnswer answer) |
void |
sendUpdateLocationRequest(JUpdateLocationRequest request) |
protected void |
setState(S6aSessionState newState) |
void |
timeoutExpired(Request request) |
addStateChangeNotification, cancelMsgTimer, 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 IClientS6aSessionData sessionData
public S6aClientSessionImpl(IClientS6aSessionData sessionData, IS6aMessageFactory fct, ISessionFactory sf, ClientS6aSessionListener lst)
public <E> E getState(Class<E> stateType)
getState in interface StateMachinepublic Answer processRequest(Request request)
processRequest in interface NetworkReqListenerpublic void sendAuthenticationInformationRequest(JAuthenticationInformationRequest request) throws InternalException, IllegalDiameterStateException, RouteException, OverloadException
sendAuthenticationInformationRequest in interface ClientS6aSessionInternalExceptionIllegalDiameterStateExceptionRouteExceptionOverloadExceptionpublic void sendPurgeUERequest(JPurgeUERequest request) throws InternalException, IllegalDiameterStateException, RouteException, OverloadException
sendPurgeUERequest in interface ClientS6aSessionInternalExceptionIllegalDiameterStateExceptionRouteExceptionOverloadExceptionpublic void sendNotifyRequest(JNotifyRequest request) throws InternalException, IllegalDiameterStateException, RouteException, OverloadException
sendNotifyRequest in interface ClientS6aSessionInternalExceptionIllegalDiameterStateExceptionRouteExceptionOverloadExceptionpublic void sendUpdateLocationRequest(JUpdateLocationRequest request) throws InternalException, IllegalDiameterStateException, RouteException, OverloadException
sendUpdateLocationRequest in interface ClientS6aSessionInternalExceptionIllegalDiameterStateExceptionRouteExceptionOverloadExceptionpublic void sendCancelLocationAnswer(JCancelLocationAnswer answer) throws InternalException, IllegalDiameterStateException, RouteException, OverloadException
sendCancelLocationAnswer in interface ClientS6aSessionInternalExceptionIllegalDiameterStateExceptionRouteExceptionOverloadExceptionpublic void sendInsertSubscriberDataAnswer(JInsertSubscriberDataAnswer answer) throws InternalException, IllegalDiameterStateException, RouteException, OverloadException
sendInsertSubscriberDataAnswer in interface ClientS6aSessionInternalExceptionIllegalDiameterStateExceptionRouteExceptionOverloadExceptionpublic void sendDeleteSubscriberDataAnswer(JDeleteSubscriberDataAnswer answer) throws InternalException, IllegalDiameterStateException, RouteException, OverloadException
sendDeleteSubscriberDataAnswer in interface ClientS6aSessionInternalExceptionIllegalDiameterStateExceptionRouteExceptionOverloadExceptionpublic void sendResetAnswer(JResetAnswer answer) throws InternalException, IllegalDiameterStateException, RouteException, OverloadException
sendResetAnswer in interface ClientS6aSessionInternalExceptionIllegalDiameterStateExceptionRouteExceptionOverloadExceptionpublic void receivedSuccessMessage(Request request, Answer answer)
receivedSuccessMessage in interface EventListener<Request,Answer>public void timeoutExpired(Request request)
timeoutExpired in interface EventListener<Request,Answer>protected void send(org.jdiameter.client.impl.app.s6a.Event.Type type,
AppEvent request,
AppEvent answer)
throws InternalException
InternalExceptionpublic boolean handleEvent(StateEvent event) throws InternalException, OverloadException
handleEvent in interface StateMachineInternalExceptionOverloadExceptionprotected void setState(S6aSessionState newState)
public void onTimer(String timerName)
onTimer in class AppSessionImplpublic int hashCode()
hashCode in class S6aSessionpublic boolean equals(Object obj)
equals in class S6aSessionpublic void release()
release in interface BaseSessionrelease in class AppSessionImplCopyright © 2016. All Rights Reserved.