org.jdiameter.api.rf
Interface ClientRfSessionListener


public interface ClientRfSessionListener

This interface defines the possible actions that the different states in the Accounting state machine.

Author:
Bartosz Baranowski , Alexandre Mendonca

Method Summary
 void doOtherEvent(AppSession appSession, AppRequestEvent request, AppAnswerEvent answer)
          Notifies this AccSessionEventListener that the ClientAccSesssion has received not account message.
 void doRfAccountingAnswerEvent(ClientRfSession appSession, RfAccountingRequest request, RfAccountingAnswer answer)
          Notifies this AccSessionEventListener that the ClientAccSesssion has received AccAnswer message.
 

Method Detail

doRfAccountingAnswerEvent

void doRfAccountingAnswerEvent(ClientRfSession appSession,
                               RfAccountingRequest request,
                               RfAccountingAnswer answer)
                               throws InternalException,
                                      IllegalDiameterStateException,
                                      RouteException,
                                      OverloadException
Notifies this AccSessionEventListener that the ClientAccSesssion has received AccAnswer message.

Parameters:
appSession - parent application session (FSM)
request - accounting request object
answer - accounting 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.

doOtherEvent

void doOtherEvent(AppSession appSession,
                  AppRequestEvent request,
                  AppAnswerEvent answer)
                  throws InternalException,
                         IllegalDiameterStateException,
                         RouteException,
                         OverloadException
Notifies this AccSessionEventListener that the ClientAccSesssion has received not account message.

Parameters:
appSession - 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.