public class ShServerActivityImpl extends DiameterActivityImpl implements ShServerActivity, org.jdiameter.api.app.StateChangeListener<org.jdiameter.api.app.AppSession>
ShServerActivity,
Serialized Form| Modifier and Type | Field and Description |
|---|---|
protected AuthSessionStateType |
authSessionState |
protected DataReferenceType[] |
dataReferenceType |
protected ShServerMessageFactoryImpl |
messageFactory |
protected DiameterIdentity |
remoteHost |
protected DiameterIdentity |
remoteRealm |
protected org.jdiameter.api.sh.ServerShSession |
serverSession |
protected DiameterShAvpFactory |
shAvpFactory |
protected ArrayList<DiameterMessage> |
stateMessages
Should contain requests, so we can create answer.
|
protected UserIdentityAvp |
userIdentity |
avpFactory, baseListener, destinationHost, destinationRealm, eventListener, handle, logger, session, sessionId, terminateAfterProcessing| Constructor and Description |
|---|
ShServerActivityImpl(ShServerMessageFactory shServerMessageFactory,
DiameterShAvpFactory diameterShAvpFactory,
org.jdiameter.api.sh.ServerShSession session,
DiameterIdentity destinationHost,
DiameterIdentity destinationRealm) |
doSendMessage, equals, getActivityHandle, getDiameterAvpFactory, getDiameterMessageFactory, getSessionId, getSessionListener, hashCode, isTerminateAfterProcessing, isValid, sendMessage, sendSyncMessage, setAvpFactory, setCurrentWorkingSession, setEventListener, setMessageFactory, setSessionListener, setTerminateAfterProcessingclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitgetDiameterAvpFactory, getDiameterMessageFactory, getSessionId, sendMessageprotected transient org.jdiameter.api.sh.ServerShSession serverSession
protected transient DiameterShAvpFactory shAvpFactory
protected transient ShServerMessageFactoryImpl messageFactory
protected UserIdentityAvp userIdentity
protected DataReferenceType[] dataReferenceType
protected AuthSessionStateType authSessionState
protected DiameterIdentity remoteRealm
protected DiameterIdentity remoteHost
protected transient ArrayList<DiameterMessage> stateMessages
public ShServerActivityImpl(ShServerMessageFactory shServerMessageFactory, DiameterShAvpFactory diameterShAvpFactory, org.jdiameter.api.sh.ServerShSession session, DiameterIdentity destinationHost, DiameterIdentity destinationRealm)
public ProfileUpdateAnswer createProfileUpdateAnswer(long resultCode, boolean isExperimentalResult)
createProfileUpdateAnswer in interface ShServerActivitypublic ProfileUpdateAnswer createProfileUpdateAnswer()
createProfileUpdateAnswer in interface ShServerActivitypublic UserDataAnswer createUserDataAnswer(byte[] userData)
createUserDataAnswer in interface ShServerActivitypublic UserDataAnswer createUserDataAnswer(long resultCode, boolean isExperimentalResult)
createUserDataAnswer in interface ShServerActivitypublic UserDataAnswer createUserDataAnswer()
createUserDataAnswer in interface ShServerActivitypublic SubscribeNotificationsAnswer createSubscribeNotificationsAnswer(long resultCode, boolean isExperimentalResult)
createSubscribeNotificationsAnswer in interface ShServerActivitypublic SubscribeNotificationsAnswer createSubscribeNotificationsAnswer()
createSubscribeNotificationsAnswer in interface ShServerActivitypublic void sendSubscribeNotificationsAnswer(SubscribeNotificationsAnswer message) throws IOException
sendSubscribeNotificationsAnswer in interface ShServerActivityIOExceptionpublic void sendUserDataAnswer(UserDataAnswer message) throws IOException
sendUserDataAnswer in interface ShServerActivityIOExceptionpublic void sendProfileUpdateAnswer(ProfileUpdateAnswer message) throws IOException
sendProfileUpdateAnswer in interface ShServerActivityIOExceptionpublic void stateChanged(org.jdiameter.api.app.AppSession arg0,
Enum oldState,
Enum newState)
stateChanged in interface org.jdiameter.api.app.StateChangeListener<org.jdiameter.api.app.AppSession>public void stateChanged(Enum oldState, Enum newState)
stateChanged in interface org.jdiameter.api.app.StateChangeListener<org.jdiameter.api.app.AppSession>public void fetchSessionData(DiameterMessage msg, boolean incoming)
public void endActivity()
endActivity in interface DiameterActivityendActivity in class DiameterActivityImplpublic void setSession(org.jdiameter.api.sh.ServerShSession session)
public DiameterShAvpFactory getServerAvpFactory()
getServerAvpFactory in interface ShServerActivitypublic ShServerMessageFactory getServerMessageFactory()
getServerMessageFactory in interface ShServerActivitypublic void setServerAvpFactory(DiameterShAvpFactory shAvpFactory)
public void setServerMessageFactory(ShServerMessageFactory messageFactory)
Copyright © 2016. All Rights Reserved.