org.mobicents.slee.resource.diameter.s6a
Class S6aServerSessionImpl

java.lang.Object
  extended by org.mobicents.slee.resource.diameter.base.DiameterActivityImpl
      extended by org.mobicents.slee.resource.diameter.s6a.S6aSessionImpl
          extended by org.mobicents.slee.resource.diameter.s6a.S6aServerSessionImpl
All Implemented Interfaces:
java.io.Serializable, net.java.slee.resource.diameter.base.DiameterActivity, S6aServerSessionActivity, S6aSessionActivity, org.jdiameter.api.app.StateChangeListener<org.jdiameter.api.app.AppSession>

public class S6aServerSessionImpl
extends S6aSessionImpl
implements S6aServerSessionActivity

Author:
Alexandre Mendonca , Bartosz Baranowski , Richard Good , Paul Carter-Brown
See Also:
Serialized Form

Field Summary
protected  org.jdiameter.api.s6a.ServerS6aSession appSession
           
 
Fields inherited from class org.mobicents.slee.resource.diameter.s6a.S6aSessionImpl
lastRequest, s6aAvpFactory, s6aMessageFactory, sessionAvps, terminated
 
Fields inherited from class org.mobicents.slee.resource.diameter.base.DiameterActivityImpl
avpFactory, baseListener, destinationHost, destinationRealm, eventListener, handle, logger, messageFactory, session, sessionId, terminateAfterProcessing
 
Constructor Summary
S6aServerSessionImpl(S6aMessageFactory s6aMessageFactory, S6aAVPFactory s6aAvpFactory, org.jdiameter.api.s6a.ServerS6aSession session, org.jdiameter.api.EventListener<org.jdiameter.api.Request,org.jdiameter.api.Answer> raEventListener, 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)
           
 
Method Summary
 AuthenticationInformationAnswer createAuthenticationInformationAnswer()
           
 NotifyAnswer createNotifyAnswer()
           
 PurgeUEAnswer createPurgeUEAnswer()
           
 UpdateLocationAnswer createUpdateLocationAnswer()
           
 void endActivity()
           
 void sendAuthenticationInformationAnswer(AuthenticationInformationAnswer aia)
           
 void sendCancelLocationRequest(CancelLocationRequest clr)
           
 void sendDeleteSubscriberDataRequest(DeleteSubscriberDataRequest dsr)
           
 void sendInsertSubscriberDataRequest(InsertSubscriberDataRequest idr)
           
 void sendNotifyAnswer(NotifyAnswer ula)
           
 void sendPurgeUEAnswer(PurgeUEAnswer pua)
           
 void sendResetRequest(ResetRequest rsr)
           
 void sendUpdateLocationAnswer(UpdateLocationAnswer ula)
           
 void setSession(org.jdiameter.api.s6a.ServerS6aSession session)
           
 void stateChanged(org.jdiameter.api.app.AppSession appSession, java.lang.Enum oldState, java.lang.Enum newState)
           
 void stateChanged(java.lang.Enum oldState, java.lang.Enum newState)
           
 
Methods inherited from class org.mobicents.slee.resource.diameter.s6a.S6aSessionImpl
equals, fetchSessionData, fillSessionAVPs, getS6aAvpFactory, getS6aMessageFactory, getSessionId, hashCode, setS6aAvpFactory, setS6aMessageFactory
 
Methods inherited from class org.mobicents.slee.resource.diameter.base.DiameterActivityImpl
doSendMessage, getActivityHandle, getDiameterAvpFactory, getDiameterMessageFactory, getSessionListener, isTerminateAfterProcessing, isValid, sendMessage, sendSyncMessage, setAvpFactory, setCurrentWorkingSession, setEventListener, setMessageFactory, setSessionListener, setTerminateAfterProcessing
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface net.java.slee.resource.diameter.s6a.S6aSessionActivity
getS6aAvpFactory, getS6aMessageFactory, getSessionId
 
Methods inherited from interface net.java.slee.resource.diameter.base.DiameterActivity
getDiameterAvpFactory, getDiameterMessageFactory, sendMessage
 

Field Detail

appSession

protected transient org.jdiameter.api.s6a.ServerS6aSession appSession
Constructor Detail

S6aServerSessionImpl

public S6aServerSessionImpl(S6aMessageFactory s6aMessageFactory,
                            S6aAVPFactory s6aAvpFactory,
                            org.jdiameter.api.s6a.ServerS6aSession session,
                            org.jdiameter.api.EventListener<org.jdiameter.api.Request,org.jdiameter.api.Answer> raEventListener,
                            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)
Method Detail

setSession

public void setSession(org.jdiameter.api.s6a.ServerS6aSession session)

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>

stateChanged

public void stateChanged(org.jdiameter.api.app.AppSession appSession,
                         java.lang.Enum oldState,
                         java.lang.Enum newState)
Specified by:
stateChanged in interface org.jdiameter.api.app.StateChangeListener<org.jdiameter.api.app.AppSession>

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

createAuthenticationInformationAnswer

public AuthenticationInformationAnswer createAuthenticationInformationAnswer()
Specified by:
createAuthenticationInformationAnswer in interface S6aServerSessionActivity

sendAuthenticationInformationAnswer

public void sendAuthenticationInformationAnswer(AuthenticationInformationAnswer aia)
                                         throws java.io.IOException
Specified by:
sendAuthenticationInformationAnswer in interface S6aServerSessionActivity
Throws:
java.io.IOException

createPurgeUEAnswer

public PurgeUEAnswer createPurgeUEAnswer()
Specified by:
createPurgeUEAnswer in interface S6aServerSessionActivity

sendPurgeUEAnswer

public void sendPurgeUEAnswer(PurgeUEAnswer pua)
                       throws java.io.IOException
Specified by:
sendPurgeUEAnswer in interface S6aServerSessionActivity
Throws:
java.io.IOException

createUpdateLocationAnswer

public UpdateLocationAnswer createUpdateLocationAnswer()
Specified by:
createUpdateLocationAnswer in interface S6aServerSessionActivity

sendUpdateLocationAnswer

public void sendUpdateLocationAnswer(UpdateLocationAnswer ula)
                              throws java.io.IOException
Specified by:
sendUpdateLocationAnswer in interface S6aServerSessionActivity
Throws:
java.io.IOException

sendCancelLocationRequest

public void sendCancelLocationRequest(CancelLocationRequest clr)
                               throws java.io.IOException
Specified by:
sendCancelLocationRequest in interface S6aServerSessionActivity
Throws:
java.io.IOException

sendInsertSubscriberDataRequest

public void sendInsertSubscriberDataRequest(InsertSubscriberDataRequest idr)
                                     throws java.io.IOException
Specified by:
sendInsertSubscriberDataRequest in interface S6aServerSessionActivity
Throws:
java.io.IOException

sendDeleteSubscriberDataRequest

public void sendDeleteSubscriberDataRequest(DeleteSubscriberDataRequest dsr)
                                     throws java.io.IOException
Specified by:
sendDeleteSubscriberDataRequest in interface S6aServerSessionActivity
Throws:
java.io.IOException

sendResetRequest

public void sendResetRequest(ResetRequest rsr)
                      throws java.io.IOException
Specified by:
sendResetRequest in interface S6aServerSessionActivity
Throws:
java.io.IOException

createNotifyAnswer

public NotifyAnswer createNotifyAnswer()
Specified by:
createNotifyAnswer in interface S6aServerSessionActivity

sendNotifyAnswer

public void sendNotifyAnswer(NotifyAnswer ula)
                      throws java.io.IOException
Specified by:
sendNotifyAnswer in interface S6aServerSessionActivity
Throws:
java.io.IOException


Copyright © 2012. All Rights Reserved.