Interface CreditControlServerSessionActivity
-
- All Superinterfaces:
CreditControlSessionActivity
public interface CreditControlServerSessionActivity extends CreditControlSessionActivity
A CreditControlServerSessionActivity represents a charging control session for Credit Control servers. A single CreditControlServerSessionActivity will be created for the Diameter session. All requests received for the session will be fired as events on the same CreditControlServerSessionActivity.- Author:
- Open Cloud
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AbortSessionRequest
createAbortSessionRequest()
Create a Abort-Session-Request message pre-populated with the AVPs appropriate for this session.CreditControlAnswer
createCreditControlAnswer()
Create a Credit-Control-Answer message pre-populated with the AVPs appropriate for this session.ReAuthRequest
createReAuthRequest()
Create a Re-Auth-Request 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
sendAbortSessionRequest(AbortSessionRequest asr)
Send a Abort-Session-Request message to the CC client.void
sendCreditControlAnswer(CreditControlAnswer cca)
Send a Credit-Control-Answer message to the CC client.void
sendReAuthRequest(ReAuthRequest rar)
Send a Re-Auth-Request message to the CC client.-
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
-
createCreditControlAnswer
CreditControlAnswer createCreditControlAnswer()
Create a Credit-Control-Answer message pre-populated with the AVPs appropriate for this session.- Returns:
- a new CreditControlAnswer
-
sendCreditControlAnswer
void sendCreditControlAnswer(CreditControlAnswer cca) throws SendException
Send a Credit-Control-Answer message to the CC client.- Parameters:
cca
- the CreditControlAnswer to send- Throws:
SendException
-
createReAuthRequest
ReAuthRequest createReAuthRequest()
Create a Re-Auth-Request message pre-populated with the AVPs appropriate for this session.- Returns:
- a new ReAuthRequest
-
sendReAuthRequest
void sendReAuthRequest(ReAuthRequest rar) throws SendException
Send a Re-Auth-Request message to the CC client.- Parameters:
rar
- the ReAuthRequest to send- Throws:
SendException
-
createAbortSessionRequest
AbortSessionRequest createAbortSessionRequest()
Create a Abort-Session-Request message pre-populated with the AVPs appropriate for this session.- Returns:
- a new AbortSessionRequest
-
sendAbortSessionRequest
void sendAbortSessionRequest(AbortSessionRequest asr) throws SendException
Send a Abort-Session-Request message to the CC client.- Parameters:
asr
- the AbortSessionRequest to send- Throws:
SendException
-
getSessionId
String getSessionId()
Returns the session ID of the credit control session, which uniquely identifies the session.
-
-