org.jdiameter.api.acc
Interface ServerAccSessionListener


public interface ServerAccSessionListener

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

Version:
1.5.1 Final

Method Summary
 void doAccRequestEvent(ServerAccSession appSession, AccountRequest request)
          Notifies this AccSessionEventListener that the ServerAccSesssion has recived AccRequest message.
 void doOtherEvent(AppSession session, AppRequestEvent request, AppAnswerEvent answer)
          Notifies this AuthSessionEventListener that the ServerAuthSesssion has recived not authentication message.
 

Method Detail

doAccRequestEvent

void doAccRequestEvent(ServerAccSession appSession,
                       AccountRequest request)
                       throws InternalException,
                              IllegalDiameterStateException,
                              RouteException,
                              OverloadException
Notifies this AccSessionEventListener that the ServerAccSesssion has recived AccRequest message.

Parameters:
appSession - parent application session (FSM)
request - accounting request 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 session,
                  AppRequestEvent request,
                  AppAnswerEvent answer)
                  throws InternalException,
                         IllegalDiameterStateException,
                         RouteException,
                         OverloadException
Notifies this AuthSessionEventListener that the ServerAuthSesssion has recived not authentication 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.