org.mobicents.slee.resource.diameter.rx
Class RxServerSessionActivityImpl
java.lang.Object
org.mobicents.slee.resource.diameter.base.DiameterActivityImpl
org.mobicents.slee.resource.diameter.rx.RxSessionActivityImpl
org.mobicents.slee.resource.diameter.rx.RxServerSessionActivityImpl
- All Implemented Interfaces:
- java.io.Serializable, net.java.slee.resource.diameter.base.DiameterActivity, RxServerSessionActivity, RxSessionActivity, org.jdiameter.api.app.StateChangeListener<org.jdiameter.api.app.AppSession>
public class RxServerSessionActivityImpl
- extends RxSessionActivityImpl
- implements RxServerSessionActivity, org.jdiameter.api.app.StateChangeListener<org.jdiameter.api.app.AppSession>
Implementation of RxServerSessionActivity.
- Author:
- Alexandre Mendonca , Bartosz Baranowski , Richard Good
- See Also:
- Serialized Form
| Fields inherited from class org.mobicents.slee.resource.diameter.base.DiameterActivityImpl |
avpFactory, baseListener, destinationHost, destinationRealm, eventListener, handle, messageFactory, sessionId, terminateAfterProcessing |
|
Constructor Summary |
RxServerSessionActivityImpl(net.java.slee.resource.diameter.base.DiameterMessageFactory messageFactory,
net.java.slee.resource.diameter.base.DiameterAvpFactory avpFactory,
org.jdiameter.api.rx.ServerRxSession session,
net.java.slee.resource.diameter.base.events.avp.DiameterIdentity destinationHost,
net.java.slee.resource.diameter.base.events.avp.DiameterIdentity destinationRealm,
org.jdiameter.api.Stack stack)
|
| Methods inherited from class org.mobicents.slee.resource.diameter.base.DiameterActivityImpl |
equals, getActivityHandle, getDiameterAvpFactory, getDiameterMessageFactory, getSessionId, getSessionListener, hashCode, isTerminateAfterProcessing, isValid, sendMessage, setAvpFactory, setCurrentWorkingSession, setEventListener, setMessageFactory, setSessionListener, setTerminateAfterProcessing |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
session
protected transient org.jdiameter.api.rx.ServerRxSession session
lastAARequest
protected transient AARequest lastAARequest
lastSessionTermRequest
protected transient SessionTerminationRequest lastSessionTermRequest
RxServerSessionActivityImpl
public RxServerSessionActivityImpl(net.java.slee.resource.diameter.base.DiameterMessageFactory messageFactory,
net.java.slee.resource.diameter.base.DiameterAvpFactory avpFactory,
org.jdiameter.api.rx.ServerRxSession session,
net.java.slee.resource.diameter.base.events.avp.DiameterIdentity destinationHost,
net.java.slee.resource.diameter.base.events.avp.DiameterIdentity destinationRealm,
org.jdiameter.api.Stack stack)
createAAAnswer
public AAAnswer createAAAnswer()
-
- Specified by:
createAAAnswer in interface RxServerSessionActivity
createSessionTermAnswer
public SessionTerminationAnswer createSessionTermAnswer()
-
- Specified by:
createSessionTermAnswer in interface RxServerSessionActivity
sendAAAnswer
public void sendAAAnswer(AAAnswer aaa)
throws java.io.IOException
-
- Specified by:
sendAAAnswer in interface RxServerSessionActivity
- Throws:
java.io.IOException
sendSessionTermAnswer
public void sendSessionTermAnswer(SessionTerminationAnswer sta)
throws java.io.IOException
-
- Specified by:
sendSessionTermAnswer in interface RxServerSessionActivity
- Throws:
java.io.IOException
sendReAuthRequest
public void sendReAuthRequest(ReAuthRequest rar)
throws java.io.IOException
-
- Specified by:
sendReAuthRequest in interface RxServerSessionActivity
- Throws:
java.io.IOException
sendAbortSessionRequest
public void sendAbortSessionRequest(AbortSessionRequest asr)
throws java.io.IOException
-
- Specified by:
sendAbortSessionRequest in interface RxServerSessionActivity
- Throws:
java.io.IOException
stateChanged
public void stateChanged(org.jdiameter.api.app.AppSession source,
java.lang.Enum oldState,
java.lang.Enum newState)
-
- Specified by:
stateChanged in interface org.jdiameter.api.app.StateChangeListener<org.jdiameter.api.app.AppSession>
stateChanged
public void stateChanged(java.lang.Enum oldState,
java.lang.Enum newState)
-
- Specified by:
stateChanged in interface org.jdiameter.api.app.StateChangeListener<org.jdiameter.api.app.AppSession>
fetchCurrentState
public void fetchCurrentState(AARequest aar)
fetchCurrentState
public void fetchCurrentState(SessionTerminationRequest str)
fetchCurrentState
public void fetchCurrentState(AAAnswer aaa)
fetchCurrentState
public void fetchCurrentState(SessionTerminationAnswer sta)
getSession
public org.jdiameter.api.rx.ServerRxSession getSession()
setSession
public void setSession(org.jdiameter.api.rx.ServerRxSession session2)
getState
public RxSessionState getState()
- Specified by:
getState in interface RxSessionActivity
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
endActivity
public void endActivity()
- Specified by:
endActivity in interface net.java.slee.resource.diameter.base.DiameterActivity- Overrides:
endActivity in class org.mobicents.slee.resource.diameter.base.DiameterActivityImpl
Copyright © 2012. All Rights Reserved.