org.mobicents.slee.resource.diameter.rx
Class RxClientSessionActivityImpl
java.lang.Object
org.mobicents.slee.resource.diameter.base.DiameterActivityImpl
org.mobicents.slee.resource.diameter.rx.RxSessionActivityImpl
org.mobicents.slee.resource.diameter.rx.RxClientSessionActivityImpl
- All Implemented Interfaces:
- java.io.Serializable, net.java.slee.resource.diameter.base.DiameterActivity, RxClientSessionActivity, RxSessionActivity, org.jdiameter.api.app.StateChangeListener<org.jdiameter.api.app.AppSession>
public class RxClientSessionActivityImpl
- extends RxSessionActivityImpl
- implements RxClientSessionActivity, org.jdiameter.api.app.StateChangeListener<org.jdiameter.api.app.AppSession>
Implementation of RxClientSessionActivity.
- Author:
- Alexandre Mendonca , Bartosz Baranowski , Richard Good
- See Also:
- Serialized Form
|
Field Summary |
protected org.jdiameter.api.rx.ClientRxSession |
session
|
| Fields inherited from class org.mobicents.slee.resource.diameter.base.DiameterActivityImpl |
avpFactory, baseListener, destinationHost, destinationRealm, eventListener, handle, logger, messageFactory, sessionId, terminateAfterProcessing |
|
Constructor Summary |
RxClientSessionActivityImpl(RxMessageFactory rxMessageFactory,
RxAvpFactory rxAvpFactory,
org.jdiameter.api.rx.ClientRxSession 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 |
getActivityHandle, getDiameterAvpFactory, getDiameterMessageFactory, getSessionId, getSessionListener, isTerminateAfterProcessing, isValid, sendMessage, setAvpFactory, setCurrentWorkingSession, setEventListener, setMessageFactory, setSessionListener, setTerminateAfterProcessing |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
session
protected transient org.jdiameter.api.rx.ClientRxSession session
RxClientSessionActivityImpl
public RxClientSessionActivityImpl(RxMessageFactory rxMessageFactory,
RxAvpFactory rxAvpFactory,
org.jdiameter.api.rx.ClientRxSession 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)
- Parameters:
messageFactory - avpFactory - session - destinationHost - destinationRealm - endpoint - stack -
createRxAARequest
public AARequest createRxAARequest()
- Specified by:
createRxAARequest in interface RxClientSessionActivity
createSessionTermRequest
public SessionTerminationRequest createSessionTermRequest()
- Specified by:
createSessionTermRequest in interface RxClientSessionActivity
sendRxAARequest
public void sendRxAARequest(AARequest aar)
throws java.io.IOException
- Specified by:
sendRxAARequest in interface RxClientSessionActivity
- Throws:
java.io.IOException
sendSessionTermRequest
public void sendSessionTermRequest(SessionTerminationRequest str)
throws java.io.IOException
- Specified by:
sendSessionTermRequest in interface RxClientSessionActivity
- Throws:
java.io.IOException
sendReAuthAnswer
public void sendReAuthAnswer(ReAuthAnswer raa)
throws java.io.IOException
- Specified by:
sendReAuthAnswer in interface RxClientSessionActivity
- Throws:
java.io.IOException
sendAbortSessionAnswer
public void sendAbortSessionAnswer(AbortSessionAnswer asr)
throws java.io.IOException
- Specified by:
sendAbortSessionAnswer in interface RxClientSessionActivity
- Throws:
java.io.IOException
stateChanged
public void stateChanged(org.jdiameter.api.app.AppSession arg0,
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>
setSession
public void setSession(org.jdiameter.api.rx.ClientRxSession session2)
getState
public RxSessionState getState()
- Specified by:
getState in interface RxSessionActivity
hashCode
public int hashCode()
- Overrides:
hashCode in class org.mobicents.slee.resource.diameter.base.DiameterActivityImpl
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals in class org.mobicents.slee.resource.diameter.base.DiameterActivityImpl
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.