Interface CreditControlClientSessionActivity
-
- All Superinterfaces:
CreditControlSessionActivity
public interface CreditControlClientSessionActivity extends CreditControlSessionActivity
A CreditControlClientSessionActivity represents a charging control session for Credit Control clients. All requests for the session must be sent via the same CreditControlClientSessionActivity. All responses related to the session will be received as events fired on the same CreditControlClientSessionActivity.- Author:
- Open Cloud
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AbortSessionAnswer
createAbortSessionAnswer()
Create a Abort-Session-Answer message pre-populated with the AVPs appropriate for this session.CreditControlRequest
createCreditControlRequest()
Create a Credit-Control-Request message pre-populated with the AVPs appropriate for this session.ReAuthAnswer
createReAuthAnswer()
Create a Re-Auth-Answer message pre-populated with the AVPs appropriate for this session.String
getSessionId()
Returns the session ID of the credit control session, which uniquely identifies the session.void
sendAbortSessionAnswer(AbortSessionAnswer asa)
Send a Abort-Session-Answer message.void
sendEventCreditControlRequest(CreditControlRequest ccr)
Send an event Credit-Control-Request.void
sendInitialCreditControlRequest(CreditControlRequest ccr)
Send an initial Credit-Control-Request.void
sendReAuthAnswer(ReAuthAnswer raa)
Send a Re-Auth-Answer message.void
sendTerminationCreditControlRequest(CreditControlRequest ccr)
Send a termination Credit-Control-Request.void
sendUpdateCreditControlRequest(CreditControlRequest ccr)
Send an update (intermediate) Credit-Control-Request.-
Methods inherited from interface org.jainslee.resources.diameter.cca.CreditControlSessionActivity
endActivity, getCcSessionFailover, getCcSessionState, getCreditControlFailureHandling, getCreditControlMessageFactory, getDirectDebitingFailureHandling, getLastReceiveTime, getLastSendTime, getTrackingKey, hasCcSessionFailover, hasCreditControlFailureHandling, hasDirectDebitingFailureHandling, startReplicating
-
-
-
-
Method Detail
-
createCreditControlRequest
CreditControlRequest createCreditControlRequest()
Create a Credit-Control-Request message pre-populated with the AVPs appropriate for this session.- Returns:
- a new CreditControlRequest
-
sendEventCreditControlRequest
void sendEventCreditControlRequest(CreditControlRequest ccr) throws SendException
Send an event Credit-Control-Request. An event containing the answer will be fired on this activity.- Parameters:
ccr
- the CreditControlRequest to send- Throws:
SendException
-
sendInitialCreditControlRequest
void sendInitialCreditControlRequest(CreditControlRequest ccr) throws SendException
Send an initial Credit-Control-Request. An event containing the answer will be fired on this activity.- Parameters:
ccr
- the CreditControlRequest to send- Throws:
SendException
-
sendUpdateCreditControlRequest
void sendUpdateCreditControlRequest(CreditControlRequest ccr) throws SendException
Send an update (intermediate) Credit-Control-Request. An event containing the answer will be fired on this activity.- Parameters:
ccr
- the CreditControlRequest to send- Throws:
SendException
-
sendTerminationCreditControlRequest
void sendTerminationCreditControlRequest(CreditControlRequest ccr) throws SendException
Send a termination Credit-Control-Request. An event containing the answer will be fired on this activity. The activity will end when the event is fired.- Parameters:
ccr
- the CreditControlRequest to send- Throws:
SendException
-
createReAuthAnswer
ReAuthAnswer createReAuthAnswer()
Create a Re-Auth-Answer message pre-populated with the AVPs appropriate for this session.- Returns:
- a new ReAuthAnswer
-
sendReAuthAnswer
void sendReAuthAnswer(ReAuthAnswer raa) throws SendException
Send a Re-Auth-Answer message.- Parameters:
raa
- the ReAuthAnswer to send- Throws:
SendException
-
createAbortSessionAnswer
AbortSessionAnswer createAbortSessionAnswer()
Create a Abort-Session-Answer message pre-populated with the AVPs appropriate for this session.- Returns:
- a new AbortSessionAnswer
-
sendAbortSessionAnswer
void sendAbortSessionAnswer(AbortSessionAnswer asa) throws SendException
Send a Abort-Session-Answer message.- Parameters:
asa
- the AbortSessionAnswer to send- Throws:
SendException
-
getSessionId
String getSessionId()
Returns the session ID of the credit control session, which uniquely identifies the session.
-
-