org.jdiameter.api.acc
Interface ClientAccSessionListener


public interface ClientAccSessionListener

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

Version:
1.5.1 Final
Author:
erick.svenson@yahoo.com, Alexandre Mendonca , Bartosz Baranowski

Method Summary
 void doAccAnswerEvent(ClientAccSession appSession, AccountRequest request, AccountAnswer answer)
          Notifies this AccSessionEventListener that the ClientAccSesssion has recived AccAnswer message.
 void doOtherEvent(AppSession appSession, AppRequestEvent request, AppAnswerEvent answer)
          Notifies this AccSessionEventListener that the ClientAccSesssion has recived not account message.
 

Method Detail

doAccAnswerEvent

void doAccAnswerEvent(ClientAccSession appSession,
                      AccountRequest request,
                      AccountAnswer answer)
                      throws InternalException,
                             IllegalDiameterStateException,
                             RouteException,
                             OverloadException
Notifies this AccSessionEventListener that the ClientAccSesssion has recived 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 recived 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 © 2013. All Rights Reserved.