org.jdiameter.server.impl.app.cxdx
Class CxDxServerSessionImpl
java.lang.Object
org.jdiameter.common.impl.app.AppSessionImpl
org.jdiameter.common.impl.app.cxdx.CxDxSession
org.jdiameter.server.impl.app.cxdx.CxDxServerSessionImpl
- All Implemented Interfaces:
- java.io.Serializable, org.jdiameter.api.app.AppSession, org.jdiameter.api.app.StateMachine, org.jdiameter.api.cxdx.ServerCxDxSession, org.jdiameter.api.EventListener<org.jdiameter.api.Request,org.jdiameter.api.Answer>, org.jdiameter.api.NetworkReqListener
public class CxDxServerSessionImpl
- extends CxDxSession
- implements org.jdiameter.api.cxdx.ServerCxDxSession, org.jdiameter.api.EventListener<org.jdiameter.api.Request,org.jdiameter.api.Answer>, org.jdiameter.api.NetworkReqListener
Start time:19:57:44 2009-08-17
Project: diameter-parent
- Author:
- Bartosz Baranowski , Alexandre Mendonca
- See Also:
- Serialized Form
|
Field Summary |
protected long |
appId
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.jdiameter.api.app.AppSession |
getCreationTime, getLastAccessedTime, getSessionAppId, getSessions, isStateless, isValid, release |
| Methods inherited from interface org.jdiameter.api.app.StateMachine |
addStateChangeNotification, removeStateChangeNotification |
appId
protected long appId
CxDxServerSessionImpl
public CxDxServerSessionImpl(ICxDxMessageFactory fct,
org.jdiameter.api.SessionFactory sf,
org.jdiameter.api.cxdx.ServerCxDxSessionListener lst)
CxDxServerSessionImpl
public CxDxServerSessionImpl(java.lang.String sessionId,
ICxDxMessageFactory fct,
org.jdiameter.api.SessionFactory sf,
org.jdiameter.api.cxdx.ServerCxDxSessionListener lst)
sendLocationInformationAnswer
public void sendLocationInformationAnswer(org.jdiameter.api.cxdx.events.JLocationInfoAnswer answer)
throws org.jdiameter.api.InternalException,
org.jdiameter.api.IllegalDiameterStateException,
org.jdiameter.api.RouteException,
org.jdiameter.api.OverloadException
- Specified by:
sendLocationInformationAnswer in interface org.jdiameter.api.cxdx.ServerCxDxSession
- Throws:
org.jdiameter.api.InternalException
org.jdiameter.api.IllegalDiameterStateException
org.jdiameter.api.RouteException
org.jdiameter.api.OverloadException
sendMultimediaAuthAnswer
public void sendMultimediaAuthAnswer(org.jdiameter.api.cxdx.events.JMultimediaAuthAnswer answer)
throws org.jdiameter.api.InternalException,
org.jdiameter.api.IllegalDiameterStateException,
org.jdiameter.api.RouteException,
org.jdiameter.api.OverloadException
- Specified by:
sendMultimediaAuthAnswer in interface org.jdiameter.api.cxdx.ServerCxDxSession
- Throws:
org.jdiameter.api.InternalException
org.jdiameter.api.IllegalDiameterStateException
org.jdiameter.api.RouteException
org.jdiameter.api.OverloadException
sendServerAssignmentAnswer
public void sendServerAssignmentAnswer(org.jdiameter.api.cxdx.events.JServerAssignmentAnswer answer)
throws org.jdiameter.api.InternalException,
org.jdiameter.api.IllegalDiameterStateException,
org.jdiameter.api.RouteException,
org.jdiameter.api.OverloadException
- Specified by:
sendServerAssignmentAnswer in interface org.jdiameter.api.cxdx.ServerCxDxSession
- Throws:
org.jdiameter.api.InternalException
org.jdiameter.api.IllegalDiameterStateException
org.jdiameter.api.RouteException
org.jdiameter.api.OverloadException
sendUserAuthorizationAnswer
public void sendUserAuthorizationAnswer(org.jdiameter.api.cxdx.events.JUserAuthorizationAnswer answer)
throws org.jdiameter.api.InternalException,
org.jdiameter.api.IllegalDiameterStateException,
org.jdiameter.api.RouteException,
org.jdiameter.api.OverloadException
- Specified by:
sendUserAuthorizationAnswer in interface org.jdiameter.api.cxdx.ServerCxDxSession
- Throws:
org.jdiameter.api.InternalException
org.jdiameter.api.IllegalDiameterStateException
org.jdiameter.api.RouteException
org.jdiameter.api.OverloadException
sendPushProfileRequest
public void sendPushProfileRequest(org.jdiameter.api.cxdx.events.JPushProfileRequest request)
throws org.jdiameter.api.InternalException,
org.jdiameter.api.IllegalDiameterStateException,
org.jdiameter.api.RouteException,
org.jdiameter.api.OverloadException
- Specified by:
sendPushProfileRequest in interface org.jdiameter.api.cxdx.ServerCxDxSession
- Throws:
org.jdiameter.api.InternalException
org.jdiameter.api.IllegalDiameterStateException
org.jdiameter.api.RouteException
org.jdiameter.api.OverloadException
sendRegistrationTerminationRequest
public void sendRegistrationTerminationRequest(org.jdiameter.api.cxdx.events.JRegistrationTerminationRequest request)
throws org.jdiameter.api.InternalException,
org.jdiameter.api.IllegalDiameterStateException,
org.jdiameter.api.RouteException,
org.jdiameter.api.OverloadException
- Specified by:
sendRegistrationTerminationRequest in interface org.jdiameter.api.cxdx.ServerCxDxSession
- Throws:
org.jdiameter.api.InternalException
org.jdiameter.api.IllegalDiameterStateException
org.jdiameter.api.RouteException
org.jdiameter.api.OverloadException
getState
public <E> E getState(java.lang.Class<E> stateType)
- Specified by:
getState in interface org.jdiameter.api.app.StateMachine
handleEvent
public boolean handleEvent(org.jdiameter.api.app.StateEvent event)
throws org.jdiameter.api.InternalException,
org.jdiameter.api.OverloadException
- Specified by:
handleEvent in interface org.jdiameter.api.app.StateMachine
- Throws:
org.jdiameter.api.InternalException
org.jdiameter.api.OverloadException
receivedSuccessMessage
public void receivedSuccessMessage(org.jdiameter.api.Request request,
org.jdiameter.api.Answer answer)
- Specified by:
receivedSuccessMessage in interface org.jdiameter.api.EventListener<org.jdiameter.api.Request,org.jdiameter.api.Answer>
timeoutExpired
public void timeoutExpired(org.jdiameter.api.Request request)
- Specified by:
timeoutExpired in interface org.jdiameter.api.EventListener<org.jdiameter.api.Request,org.jdiameter.api.Answer>
processRequest
public org.jdiameter.api.Answer processRequest(org.jdiameter.api.Request request)
- Specified by:
processRequest in interface org.jdiameter.api.NetworkReqListener
send
protected void send(org.jdiameter.server.impl.app.cxdx.Event.Type type,
org.jdiameter.api.app.AppEvent request,
org.jdiameter.api.app.AppEvent answer)
throws org.jdiameter.api.InternalException
- Throws:
org.jdiameter.api.InternalException
setState
protected void setState(CxDxSessionState newState)
Copyright © 2010. All Rights Reserved.