org.jdiameter.api.rf
Interface ServerRfSession

All Superinterfaces:
AppSession, BaseSession, java.io.Serializable, StateMachine

public interface ServerRfSession
extends AppSession, StateMachine

Basic class for server Rf accounting application specific session. Listener must injection from constructor of implementation class.

Author:
Bartosz Baranowski , Alexandre Mendonca

Method Summary
 void sendAccountAnswer(RfAccountingAnswer answer)
          Send Account Answer to Client
 
Methods inherited from interface org.jdiameter.api.app.AppSession
getSessionAppId, getSessions, isStateless
 
Methods inherited from interface org.jdiameter.api.BaseSession
getCreationTime, getLastAccessedTime, getSessionId, isAppSession, isReplicable, isValid, release
 
Methods inherited from interface org.jdiameter.api.app.StateMachine
addStateChangeNotification, getState, handleEvent, removeStateChangeNotification
 

Method Detail

sendAccountAnswer

void sendAccountAnswer(RfAccountingAnswer answer)
                       throws InternalException,
                              java.lang.IllegalStateException,
                              RouteException,
                              OverloadException
Send Account Answer to Client

Parameters:
answer - request object
Throws:
InternalException - The InternalException signals that internal error is occurred.
java.lang.IllegalStateException - 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.