org.jdiameter.api.cca
Interface ServerCCASession

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

public interface ServerCCASession
extends AppSession, StateMachine

Basic class for server credit-control application specific session Listener must be injected from constructor of implementation class

Author:
Bartosz Baranowski , Alexandre Mendonca

Method Summary
 void sendCreditControlAnswer(JCreditControlAnswer answer)
          Send credit-control answer to client
 void sendReAuthRequest(ReAuthRequest request)
          Send re-authentication request 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

sendCreditControlAnswer

void sendCreditControlAnswer(JCreditControlAnswer answer)
                             throws InternalException,
                                    IllegalDiameterStateException,
                                    RouteException,
                                    OverloadException
Send credit-control answer to client

Parameters:
answer - Credit-Control-Answer event instance
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.

sendReAuthRequest

void sendReAuthRequest(ReAuthRequest request)
                       throws InternalException,
                              IllegalDiameterStateException,
                              RouteException,
                              OverloadException
Send re-authentication request to client

Parameters:
request - Re-Auth-Request event instance
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.