org.jdiameter.server.impl.app.s6a
Class S6aServerSessionImpl
java.lang.Object
org.jdiameter.common.impl.app.AppSessionImpl
org.jdiameter.common.impl.app.s6a.S6aSession
org.jdiameter.server.impl.app.s6a.S6aServerSessionImpl
- All Implemented Interfaces:
- AppSession, StateMachine, BaseSession, EventListener<Request,Answer>, NetworkReqListener, ServerS6aSession
public class S6aServerSessionImpl
- extends S6aSession
- implements ServerS6aSession, EventListener<Request,Answer>, NetworkReqListener
S6a Server session implementation
- Author:
- Alexandre Mendonca , Richard Good , Paul Carter-Brown
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
appId
protected long appId
sessionData
protected IServerS6aSessionData sessionData
S6aServerSessionImpl
public S6aServerSessionImpl(IServerS6aSessionData sessionData,
IS6aMessageFactory fct,
ISessionFactory sf,
ServerS6aSessionListener lst)
sendAuthenticationInformationAnswer
public void sendAuthenticationInformationAnswer(JAuthenticationInformationAnswer answer)
throws InternalException,
IllegalDiameterStateException,
RouteException,
OverloadException
- Specified by:
sendAuthenticationInformationAnswer in interface ServerS6aSession
- Throws:
InternalException
IllegalDiameterStateException
RouteException
OverloadException
sendPurgeUEAnswer
public void sendPurgeUEAnswer(JPurgeUEAnswer answer)
throws InternalException,
IllegalDiameterStateException,
RouteException,
OverloadException
- Specified by:
sendPurgeUEAnswer in interface ServerS6aSession
- Throws:
InternalException
IllegalDiameterStateException
RouteException
OverloadException
sendUpdateLocationAnswer
public void sendUpdateLocationAnswer(JUpdateLocationAnswer answer)
throws InternalException,
IllegalDiameterStateException,
RouteException,
OverloadException
- Specified by:
sendUpdateLocationAnswer in interface ServerS6aSession
- Throws:
InternalException
IllegalDiameterStateException
RouteException
OverloadException
sendNotifyAnswer
public void sendNotifyAnswer(JNotifyAnswer answer)
throws InternalException,
IllegalDiameterStateException,
RouteException,
OverloadException
- Specified by:
sendNotifyAnswer in interface ServerS6aSession
- Throws:
InternalException
IllegalDiameterStateException
RouteException
OverloadException
sendCancelLocationRequest
public void sendCancelLocationRequest(JCancelLocationRequest request)
throws InternalException,
IllegalDiameterStateException,
RouteException,
OverloadException
- Specified by:
sendCancelLocationRequest in interface ServerS6aSession
- Throws:
InternalException
IllegalDiameterStateException
RouteException
OverloadException
sendInsertSubscriberDataRequest
public void sendInsertSubscriberDataRequest(JInsertSubscriberDataRequest request)
throws InternalException,
IllegalDiameterStateException,
RouteException,
OverloadException
- Specified by:
sendInsertSubscriberDataRequest in interface ServerS6aSession
- Throws:
InternalException
IllegalDiameterStateException
RouteException
OverloadException
sendDeleteSubscriberDataRequest
public void sendDeleteSubscriberDataRequest(JDeleteSubscriberDataRequest request)
throws InternalException,
IllegalDiameterStateException,
RouteException,
OverloadException
- Specified by:
sendDeleteSubscriberDataRequest in interface ServerS6aSession
- Throws:
InternalException
IllegalDiameterStateException
RouteException
OverloadException
sendResetRequest
public void sendResetRequest(JResetRequest request)
throws InternalException,
IllegalDiameterStateException,
RouteException,
OverloadException
- Specified by:
sendResetRequest in interface ServerS6aSession
- Throws:
InternalException
IllegalDiameterStateException
RouteException
OverloadException
getState
public <E> E getState(java.lang.Class<E> stateType)
- Specified by:
getState in interface StateMachine
handleEvent
public boolean handleEvent(StateEvent event)
throws InternalException,
OverloadException
- Specified by:
handleEvent in interface StateMachine
- Throws:
InternalException
OverloadException
receivedSuccessMessage
public void receivedSuccessMessage(Request request,
Answer answer)
- Specified by:
receivedSuccessMessage in interface EventListener<Request,Answer>
timeoutExpired
public void timeoutExpired(Request request)
- Specified by:
timeoutExpired in interface EventListener<Request,Answer>
processRequest
public Answer processRequest(Request request)
- Specified by:
processRequest in interface NetworkReqListener
send
protected void send(org.jdiameter.server.impl.app.s6a.Event.Type type,
AppEvent request,
AppEvent answer)
throws InternalException
- Throws:
InternalException
setState
protected void setState(S6aSessionState newState)
onTimer
public void onTimer(java.lang.String timerName)
- Specified by:
onTimer in class AppSessionImpl
release
public void release()
- Specified by:
release in interface BaseSession- Overrides:
release in class AppSessionImpl
Copyright © 2014. All Rights Reserved.