public class S13ClientSessionImpl extends S13Session implements ClientS13Session, EventListener<Request,Answer>, NetworkReqListener
| Modifier and Type | Field and Description |
|---|---|
protected long |
appId |
protected IClientS13SessionData |
sessionData |
_TX_TIMEOUT, messageFactory, sendAndStateLock, stateListeners, TIMER_NAME_MSG_TIMEOUTappSessionData, scheduler, session, sessions, sf, timerFacility| Constructor and Description |
|---|
S13ClientSessionImpl(IClientS13SessionData sessionData,
IS13MessageFactory fct,
ISessionFactory sf,
ClientS13SessionListener 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.s13.Event.Type type,
AppEvent request,
AppEvent answer) |
void |
sendMEIdentityCheckRequest(JMEIdentityCheckRequest request) |
protected void |
setState(S13SessionState 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 IClientS13SessionData sessionData
public S13ClientSessionImpl(IClientS13SessionData sessionData, IS13MessageFactory fct, ISessionFactory sf, ClientS13SessionListener lst)
public <E> E getState(Class<E> stateType)
getState in interface StateMachinepublic Answer processRequest(Request request)
processRequest in interface NetworkReqListenerpublic void sendMEIdentityCheckRequest(JMEIdentityCheckRequest request) throws InternalException, IllegalDiameterStateException, RouteException, OverloadException
sendMEIdentityCheckRequest in interface ClientS13SessionInternalExceptionIllegalDiameterStateExceptionRouteExceptionOverloadExceptionpublic 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.s13.Event.Type type,
AppEvent request,
AppEvent answer)
throws InternalException
InternalExceptionpublic boolean handleEvent(StateEvent event) throws InternalException, OverloadException
handleEvent in interface StateMachineInternalExceptionOverloadExceptionprotected void setState(S13SessionState newState)
public void onTimer(String timerName)
onTimer in class AppSessionImplpublic int hashCode()
hashCode in class S13Sessionpublic boolean equals(Object obj)
equals in class S13Sessionpublic void release()
release in interface BaseSessionrelease in class AppSessionImplCopyright © 2016. All Rights Reserved.