org.jdiameter.api.sh
Interface ClientShSessionListener


public interface ClientShSessionListener


Method Summary
 void doOtherEvent(AppSession session, AppRequestEvent request, AppAnswerEvent answer)
          Notifies this ShSessionEventListener that the ClientShSession has recived not Sh message.
 void doProfileUpdateAnswerEvent(ClientShSession session, ProfileUpdateRequest request, ProfileUpdateAnswer answer)
           
 void doPushNotificationRequestEvent(ClientShSession session, PushNotificationRequest request)
           
 void doSubscribeNotificationsAnswerEvent(ClientShSession session, SubscribeNotificationsRequest request, SubscribeNotificationsAnswer answer)
           
 void doUserDataAnswerEvent(ClientShSession session, UserDataRequest request, UserDataAnswer answer)
           
 

Method Detail

doSubscribeNotificationsAnswerEvent

void doSubscribeNotificationsAnswerEvent(ClientShSession session,
                                         SubscribeNotificationsRequest request,
                                         SubscribeNotificationsAnswer answer)
                                         throws InternalException,
                                                IllegalDiameterStateException,
                                                RouteException,
                                                OverloadException
Throws:
InternalException
IllegalDiameterStateException
RouteException
OverloadException

doProfileUpdateAnswerEvent

void doProfileUpdateAnswerEvent(ClientShSession session,
                                ProfileUpdateRequest request,
                                ProfileUpdateAnswer answer)
                                throws InternalException,
                                       IllegalDiameterStateException,
                                       RouteException,
                                       OverloadException
Throws:
InternalException
IllegalDiameterStateException
RouteException
OverloadException

doPushNotificationRequestEvent

void doPushNotificationRequestEvent(ClientShSession session,
                                    PushNotificationRequest request)
                                    throws InternalException,
                                           IllegalDiameterStateException,
                                           RouteException,
                                           OverloadException
Throws:
InternalException
IllegalDiameterStateException
RouteException
OverloadException

doUserDataAnswerEvent

void doUserDataAnswerEvent(ClientShSession session,
                           UserDataRequest request,
                           UserDataAnswer answer)
                           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 ClientShSession 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 © 2010. All Rights Reserved.