org.jdiameter.api.sh
Interface ClientShSession

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

public interface ClientShSession
extends AppSession, StateMachine


Method Summary
 void sendProfileUpdateRequest(ProfileUpdateRequest request)
          Send profile update request to server
 void sendPushNotificationAnswer(PushNotificationAnswer answer)
           
 void sendSubscribeNotificationsRequest(SubscribeNotificationsRequest request)
          Send sobscirption request to server
 void sendUserDataRequest(UserDataRequest request)
          Send user data request to server
 
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

sendProfileUpdateRequest

void sendProfileUpdateRequest(ProfileUpdateRequest request)
                              throws InternalException,
                                     IllegalDiameterStateException,
                                     RouteException,
                                     OverloadException
Send profile update request to server

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.

sendSubscribeNotificationsRequest

void sendSubscribeNotificationsRequest(SubscribeNotificationsRequest request)
                                       throws InternalException,
                                              IllegalDiameterStateException,
                                              RouteException,
                                              OverloadException
Send sobscirption request to server

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.

sendUserDataRequest

void sendUserDataRequest(UserDataRequest request)
                         throws InternalException,
                                IllegalDiameterStateException,
                                RouteException,
                                OverloadException
Send user data request to server

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.

sendPushNotificationAnswer

void sendPushNotificationAnswer(PushNotificationAnswer answer)
                                throws InternalException,
                                       IllegalDiameterStateException,
                                       RouteException,
                                       OverloadException
Throws:
InternalException
IllegalDiameterStateException
RouteException
OverloadException


Copyright © 2010. All Rights Reserved.