org.jdiameter.api.sh
Interface ServerShSessionListener


public interface ServerShSessionListener


Method Summary
 void doOtherEvent(AppSession session, AppRequestEvent request, AppAnswerEvent answer)
          Notifies this ShSessionEventListener that the ServerShSession has recived not Sh message.
 void doProfileUpdateRequestEvent(ServerShSession session, ProfileUpdateRequest request)
           
 void doPushNotificationAnswerEvent(ServerShSession session, PushNotificationRequest request, PushNotificationAnswer answer)
           
 void doSubscribeNotificationsRequestEvent(ServerShSession session, SubscribeNotificationsRequest request)
           
 void doUserDataRequestEvent(ServerShSession session, UserDataRequest request)
           
 

Method Detail

doSubscribeNotificationsRequestEvent

void doSubscribeNotificationsRequestEvent(ServerShSession session,
                                          SubscribeNotificationsRequest request)
                                          throws InternalException,
                                                 IllegalDiameterStateException,
                                                 RouteException,
                                                 OverloadException
Throws:
InternalException
IllegalDiameterStateException
RouteException
OverloadException

doProfileUpdateRequestEvent

void doProfileUpdateRequestEvent(ServerShSession session,
                                 ProfileUpdateRequest request)
                                 throws InternalException,
                                        IllegalDiameterStateException,
                                        RouteException,
                                        OverloadException
Throws:
InternalException
IllegalDiameterStateException
RouteException
OverloadException

doPushNotificationAnswerEvent

void doPushNotificationAnswerEvent(ServerShSession session,
                                   PushNotificationRequest request,
                                   PushNotificationAnswer answer)
                                   throws InternalException,
                                          IllegalDiameterStateException,
                                          RouteException,
                                          OverloadException
Throws:
InternalException
IllegalDiameterStateException
RouteException
OverloadException

doUserDataRequestEvent

void doUserDataRequestEvent(ServerShSession session,
                            UserDataRequest request)
                            throws InternalException,
                                   IllegalDiameterStateException,
                                   RouteException,
                                   OverloadException
Throws:
InternalException
IllegalDiameterStateException
RouteException
OverloadException

doOtherEvent

void doOtherEvent(AppSession session,
                  AppRequestEvent request,
                  AppAnswerEvent answer)
                  throws InternalException,
                         IllegalDiameterStateException,
                         RouteException,
                         OverloadException
Notifies this ShSessionEventListener that the ServerShSession has recived not Sh message.

Parameters:
session - parent application session (FSM)
request - request object
answer - answer object
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 © 2009. All Rights Reserved.