org.jdiameter.api.cca
Interface ClientCCASessionListener


public interface ClientCCASessionListener

ClientCCASessionListener.java
Super project: mobicents
3:47:53 PM Dec 2, 2008

Author:
Bartosz Baranowski , Alexandre Mendonca

Method Summary
 void doAbortSessionAnswer(ClientCCASession session, AbortSessionRequest request, AbortSessionAnswer answer)
           
 void doAbortSessionRequest(ClientCCASession session, AbortSessionRequest request)
           
 void doAccountingAnswer(ClientCCASession session, AccountRequest request, AccountAnswer answer)
           
 void doAccountingRequest(ClientCCASession session, AccountRequest request)
           
 void doCreditControlAnswer(ClientCCASession session, JCreditControlRequest request, JCreditControlAnswer answer)
           
 void doOtherEvent(AppSession session, AppRequestEvent request, AppAnswerEvent answer)
          Notifies this ClientCCASessionListener that the ClientCCASession has recived not CCA message, usually some extension.
 void doReAuthRequest(ClientCCASession session, ReAuthRequest request)
           
 void doSessionTerminationAnswer(ClientCCASession session, SessionTermRequest request, SessionTermAnswer answer)
           
 void doSessionTerminationRequest(ClientCCASession session, SessionTermRequest request)
           
 int getDefaultCCFHValue()
          Provides with default value of CCFH avp - this is used when avp is not present or send opoeration fails for some reason
CCFH is of type Enumarated - int32
 int getDefaultDDFHValue()
          Provides with default value of DDFH avp - this is used when avp is not present or send opoeration fails for some reason
DDFH is of type Enumarated - int32
 

Method Detail

doCreditControlAnswer

void doCreditControlAnswer(ClientCCASession session,
                           JCreditControlRequest request,
                           JCreditControlAnswer answer)
                           throws InternalException,
                                  IllegalDiameterStateException,
                                  RouteException,
                                  OverloadException
Throws:
InternalException
IllegalDiameterStateException
RouteException
OverloadException

doReAuthRequest

void doReAuthRequest(ClientCCASession session,
                     ReAuthRequest request)
                     throws InternalException,
                            IllegalDiameterStateException,
                            RouteException,
                            OverloadException
Throws:
InternalException
IllegalDiameterStateException
RouteException
OverloadException

doAccountingRequest

void doAccountingRequest(ClientCCASession session,
                         AccountRequest request)
                         throws InternalException,
                                IllegalDiameterStateException,
                                RouteException,
                                OverloadException
Throws:
InternalException
IllegalDiameterStateException
RouteException
OverloadException

doAbortSessionRequest

void doAbortSessionRequest(ClientCCASession session,
                           AbortSessionRequest request)
                           throws InternalException,
                                  IllegalDiameterStateException,
                                  RouteException,
                                  OverloadException
Throws:
InternalException
IllegalDiameterStateException
RouteException
OverloadException

doSessionTerminationRequest

void doSessionTerminationRequest(ClientCCASession session,
                                 SessionTermRequest request)
                                 throws InternalException,
                                        IllegalDiameterStateException,
                                        RouteException,
                                        OverloadException
Throws:
InternalException
IllegalDiameterStateException
RouteException
OverloadException

doAccountingAnswer

void doAccountingAnswer(ClientCCASession session,
                        AccountRequest request,
                        AccountAnswer answer)
                        throws InternalException,
                               IllegalDiameterStateException,
                               RouteException,
                               OverloadException
Throws:
InternalException
IllegalDiameterStateException
RouteException
OverloadException

doAbortSessionAnswer

void doAbortSessionAnswer(ClientCCASession session,
                          AbortSessionRequest request,
                          AbortSessionAnswer answer)
                          throws InternalException,
                                 IllegalDiameterStateException,
                                 RouteException,
                                 OverloadException
Throws:
InternalException
IllegalDiameterStateException
RouteException
OverloadException

doSessionTerminationAnswer

void doSessionTerminationAnswer(ClientCCASession session,
                                SessionTermRequest request,
                                SessionTermAnswer answer)
                                throws InternalException,
                                       IllegalDiameterStateException,
                                       RouteException,
                                       OverloadException
Throws:
InternalException
IllegalDiameterStateException
RouteException
OverloadException

doOtherEvent

void doOtherEvent(AppSession session,
                  AppRequestEvent request,
                  AppAnswerEvent answer)
                  throws InternalException,
                         IllegalDiameterStateException,
                         RouteException,
                         OverloadException
Notifies this ClientCCASessionListener that the ClientCCASession has recived not CCA message, usually some extension.

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.

getDefaultDDFHValue

int getDefaultDDFHValue()
Provides with default value of DDFH avp - this is used when avp is not present or send opoeration fails for some reason
DDFH is of type Enumarated - int32

Returns:

getDefaultCCFHValue

int getDefaultCCFHValue()
Provides with default value of CCFH avp - this is used when avp is not present or send opoeration fails for some reason
CCFH is of type Enumarated - int32

Returns:


Copyright © 2010. All Rights Reserved.