org.mobicents.slee.resource.diameter.sh.server.handlers
Class ShServerSessionFactory
java.lang.Object
org.mobicents.slee.resource.diameter.sh.server.handlers.ShServerSessionFactory
- All Implemented Interfaces:
- org.jdiameter.api.app.StateChangeListener, org.jdiameter.api.sh.ServerShSessionListener, org.jdiameter.common.api.app.IAppSessionFactory, org.jdiameter.common.api.app.sh.IShMessageFactory
public class ShServerSessionFactory
- extends java.lang.Object
- implements org.jdiameter.common.api.app.IAppSessionFactory, org.jdiameter.api.sh.ServerShSessionListener, org.jdiameter.api.app.StateChangeListener, org.jdiameter.common.api.app.sh.IShMessageFactory
Start time:18:16:01 2009-01-06
Project: mobicents-diameter-parent
- Author:
- Bartosz Baranowski , Alexandre Mendonca
|
Method Summary |
org.jdiameter.api.app.AppAnswerEvent |
createProfileUpdateAnswer(org.jdiameter.api.Answer answer)
|
org.jdiameter.api.app.AppRequestEvent |
createProfileUpdateRequest(org.jdiameter.api.Request request)
|
org.jdiameter.api.app.AppAnswerEvent |
createPushNotificationAnswer(org.jdiameter.api.Answer answer)
|
org.jdiameter.api.app.AppRequestEvent |
createPushNotificationRequest(org.jdiameter.api.Request request)
|
org.jdiameter.api.app.AppAnswerEvent |
createSubscribeNotificationsAnswer(org.jdiameter.api.Answer answer)
|
org.jdiameter.api.app.AppRequestEvent |
createSubscribeNotificationsRequest(org.jdiameter.api.Request request)
|
org.jdiameter.api.app.AppAnswerEvent |
createUserDataAnswer(org.jdiameter.api.Answer answer)
|
org.jdiameter.api.app.AppRequestEvent |
createUserDataRequest(org.jdiameter.api.Request request)
|
void |
doOtherEvent(org.jdiameter.api.app.AppSession appSession,
org.jdiameter.api.app.AppRequestEvent request,
org.jdiameter.api.app.AppAnswerEvent answer)
|
void |
doProfileUpdateRequestEvent(org.jdiameter.api.sh.ServerShSession appSession,
org.jdiameter.api.sh.events.ProfileUpdateRequest request)
|
void |
doPushNotificationAnswerEvent(org.jdiameter.api.sh.ServerShSession appSession,
org.jdiameter.api.sh.events.PushNotificationRequest request,
org.jdiameter.api.sh.events.PushNotificationAnswer answer)
|
void |
doSubscribeNotificationsRequestEvent(org.jdiameter.api.sh.ServerShSession appSession,
org.jdiameter.api.sh.events.SubscribeNotificationsRequest request)
|
void |
doUserDataRequestEvent(org.jdiameter.api.sh.ServerShSession appSession,
org.jdiameter.api.sh.events.UserDataRequest request)
|
long |
getApplicationId()
|
long |
getMessageTimeout()
|
org.jdiameter.api.app.AppSession |
getNewSession(java.lang.String sessionId,
java.lang.Class<? extends org.jdiameter.api.app.AppSession> aClass,
org.jdiameter.api.ApplicationId applicationId,
java.lang.Object[] args)
|
void |
stateChanged(java.lang.Enum oldState,
java.lang.Enum newState)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
sessionFactory
protected org.jdiameter.api.SessionFactory sessionFactory
ra
protected DiameterShServerResourceAdaptor ra
ShServerSessionFactory
public ShServerSessionFactory(org.jdiameter.api.SessionFactory sessionFactory,
DiameterShServerResourceAdaptor diameterShServerResourceAdaptor)
getNewSession
public org.jdiameter.api.app.AppSession getNewSession(java.lang.String sessionId,
java.lang.Class<? extends org.jdiameter.api.app.AppSession> aClass,
org.jdiameter.api.ApplicationId applicationId,
java.lang.Object[] args)
- Specified by:
getNewSession in interface org.jdiameter.common.api.app.IAppSessionFactory
doOtherEvent
public void doOtherEvent(org.jdiameter.api.app.AppSession appSession,
org.jdiameter.api.app.AppRequestEvent request,
org.jdiameter.api.app.AppAnswerEvent answer)
throws org.jdiameter.api.InternalException,
org.jdiameter.api.IllegalDiameterStateException,
org.jdiameter.api.RouteException,
org.jdiameter.api.OverloadException
- Specified by:
doOtherEvent in interface org.jdiameter.api.sh.ServerShSessionListener
- Throws:
org.jdiameter.api.InternalException
org.jdiameter.api.IllegalDiameterStateException
org.jdiameter.api.RouteException
org.jdiameter.api.OverloadException
doProfileUpdateRequestEvent
public void doProfileUpdateRequestEvent(org.jdiameter.api.sh.ServerShSession appSession,
org.jdiameter.api.sh.events.ProfileUpdateRequest request)
throws org.jdiameter.api.InternalException,
org.jdiameter.api.IllegalDiameterStateException,
org.jdiameter.api.RouteException,
org.jdiameter.api.OverloadException
- Specified by:
doProfileUpdateRequestEvent in interface org.jdiameter.api.sh.ServerShSessionListener
- Throws:
org.jdiameter.api.InternalException
org.jdiameter.api.IllegalDiameterStateException
org.jdiameter.api.RouteException
org.jdiameter.api.OverloadException
doPushNotificationAnswerEvent
public void doPushNotificationAnswerEvent(org.jdiameter.api.sh.ServerShSession appSession,
org.jdiameter.api.sh.events.PushNotificationRequest request,
org.jdiameter.api.sh.events.PushNotificationAnswer answer)
throws org.jdiameter.api.InternalException,
org.jdiameter.api.IllegalDiameterStateException,
org.jdiameter.api.RouteException,
org.jdiameter.api.OverloadException
- Specified by:
doPushNotificationAnswerEvent in interface org.jdiameter.api.sh.ServerShSessionListener
- Throws:
org.jdiameter.api.InternalException
org.jdiameter.api.IllegalDiameterStateException
org.jdiameter.api.RouteException
org.jdiameter.api.OverloadException
doSubscribeNotificationsRequestEvent
public void doSubscribeNotificationsRequestEvent(org.jdiameter.api.sh.ServerShSession appSession,
org.jdiameter.api.sh.events.SubscribeNotificationsRequest request)
throws org.jdiameter.api.InternalException,
org.jdiameter.api.IllegalDiameterStateException,
org.jdiameter.api.RouteException,
org.jdiameter.api.OverloadException
- Specified by:
doSubscribeNotificationsRequestEvent in interface org.jdiameter.api.sh.ServerShSessionListener
- Throws:
org.jdiameter.api.InternalException
org.jdiameter.api.IllegalDiameterStateException
org.jdiameter.api.RouteException
org.jdiameter.api.OverloadException
doUserDataRequestEvent
public void doUserDataRequestEvent(org.jdiameter.api.sh.ServerShSession appSession,
org.jdiameter.api.sh.events.UserDataRequest request)
throws org.jdiameter.api.InternalException,
org.jdiameter.api.IllegalDiameterStateException,
org.jdiameter.api.RouteException,
org.jdiameter.api.OverloadException
- Specified by:
doUserDataRequestEvent in interface org.jdiameter.api.sh.ServerShSessionListener
- Throws:
org.jdiameter.api.InternalException
org.jdiameter.api.IllegalDiameterStateException
org.jdiameter.api.RouteException
org.jdiameter.api.OverloadException
stateChanged
public void stateChanged(java.lang.Enum oldState,
java.lang.Enum newState)
- Specified by:
stateChanged in interface org.jdiameter.api.app.StateChangeListener
createProfileUpdateAnswer
public org.jdiameter.api.app.AppAnswerEvent createProfileUpdateAnswer(org.jdiameter.api.Answer answer)
- Specified by:
createProfileUpdateAnswer in interface org.jdiameter.common.api.app.sh.IShMessageFactory
createProfileUpdateRequest
public org.jdiameter.api.app.AppRequestEvent createProfileUpdateRequest(org.jdiameter.api.Request request)
- Specified by:
createProfileUpdateRequest in interface org.jdiameter.common.api.app.sh.IShMessageFactory
createPushNotificationAnswer
public org.jdiameter.api.app.AppAnswerEvent createPushNotificationAnswer(org.jdiameter.api.Answer answer)
- Specified by:
createPushNotificationAnswer in interface org.jdiameter.common.api.app.sh.IShMessageFactory
createPushNotificationRequest
public org.jdiameter.api.app.AppRequestEvent createPushNotificationRequest(org.jdiameter.api.Request request)
- Specified by:
createPushNotificationRequest in interface org.jdiameter.common.api.app.sh.IShMessageFactory
createSubscribeNotificationsAnswer
public org.jdiameter.api.app.AppAnswerEvent createSubscribeNotificationsAnswer(org.jdiameter.api.Answer answer)
- Specified by:
createSubscribeNotificationsAnswer in interface org.jdiameter.common.api.app.sh.IShMessageFactory
createSubscribeNotificationsRequest
public org.jdiameter.api.app.AppRequestEvent createSubscribeNotificationsRequest(org.jdiameter.api.Request request)
- Specified by:
createSubscribeNotificationsRequest in interface org.jdiameter.common.api.app.sh.IShMessageFactory
createUserDataAnswer
public org.jdiameter.api.app.AppAnswerEvent createUserDataAnswer(org.jdiameter.api.Answer answer)
- Specified by:
createUserDataAnswer in interface org.jdiameter.common.api.app.sh.IShMessageFactory
createUserDataRequest
public org.jdiameter.api.app.AppRequestEvent createUserDataRequest(org.jdiameter.api.Request request)
- Specified by:
createUserDataRequest in interface org.jdiameter.common.api.app.sh.IShMessageFactory
getApplicationId
public long getApplicationId()
- Specified by:
getApplicationId in interface org.jdiameter.common.api.app.sh.IShMessageFactory
getMessageTimeout
public long getMessageTimeout()
- Specified by:
getMessageTimeout in interface org.jdiameter.common.api.app.sh.IShMessageFactory
Copyright © 2010. All Rights Reserved.