org.jdiameter.api.sh
Interface ServerShSession

All Superinterfaces:
AppSession, BaseSession, java.io.Serializable, StateMachine

public interface ServerShSession
extends AppSession, StateMachine


Method Summary
 void sendProfileUpdateAnswer(ProfileUpdateAnswer answer)
          Send profile update answer to client
 void sendPushNotificationRequest(PushNotificationRequest request)
          Send profile update notification request to client
 void sendSubscribeNotificationsAnswer(SubscribeNotificationsAnswer answer)
          Send subscribe notification answer to client
 void sendUserDataAnswer(UserDataAnswer answer)
          Send user data answer to client
 
Methods inherited from interface org.jdiameter.api.app.AppSession
getSessionAppId, getSessions, isStateless
 
Methods inherited from interface org.jdiameter.api.BaseSession
getCreationTime, getLastAccessedTime, getSessionId, isAppSession, isReplicable, isValid, release
 
Methods inherited from interface org.jdiameter.api.app.StateMachine
addStateChangeNotification, getState, handleEvent, removeStateChangeNotification
 

Method Detail

sendPushNotificationRequest

void sendPushNotificationRequest(PushNotificationRequest request)
                                 throws InternalException,
                                        IllegalDiameterStateException,
                                        RouteException,
                                        OverloadException
Send profile update notification request to client

Parameters:
request - Authentication-Request event instance
Throws:
InternalException - The InternalException signals that internal error is occurred.
IllegalDiameterStateException - The IllegalStateException signals that session has incorrect state (invalid).
RouteException - The NoRouteException signals that no route exist for a given realm.
OverloadException - The OverloadException signals that destination host is overloaded.

sendProfileUpdateAnswer

void sendProfileUpdateAnswer(ProfileUpdateAnswer answer)
                             throws InternalException,
                                    IllegalDiameterStateException,
                                    RouteException,
                                    OverloadException
Send profile update answer to client

Parameters:
request - Authentication-Request event instance
Throws:
InternalException - The InternalException signals that internal error is occurred.
IllegalDiameterStateException - The IllegalStateException signals that session has incorrect state (invalid).
RouteException - The NoRouteException signals that no route exist for a given realm.
OverloadException - The OverloadException signals that destination host is overloaded.

sendSubscribeNotificationsAnswer

void sendSubscribeNotificationsAnswer(SubscribeNotificationsAnswer answer)
                                      throws InternalException,
                                             IllegalDiameterStateException,
                                             RouteException,
                                             OverloadException
Send subscribe notification answer to client

Parameters:
request - Authentication-Request event instance
Throws:
InternalException - The InternalException signals that internal error is occurred.
IllegalDiameterStateException - The IllegalStateException signals that session has incorrect state (invalid).
RouteException - The NoRouteException signals that no route exist for a given realm.
OverloadException - The OverloadException signals that destination host is overloaded.

sendUserDataAnswer

void sendUserDataAnswer(UserDataAnswer answer)
                        throws InternalException,
                               IllegalDiameterStateException,
                               RouteException,
                               OverloadException
Send user data answer to client

Parameters:
request - Authentication-Request event instance
Throws:
InternalException - The InternalException signals that internal error is occurred.
IllegalDiameterStateException - The IllegalStateException signals that session has incorrect state (invalid).
RouteException - The NoRouteException signals that no route exist for a given realm.
OverloadException - The OverloadException signals that destination host is overloaded.


Copyright © 2010. All Rights Reserved.