public interface RoServerSessionActivity extends RoSessionActivity
An RoServerSessionActivity represents a charging control session for Credit Control servers.
A single RoServerSessionActivity will be created for the Diameter session. All requests received for the session will be fired as events on the same RoServerSessionActivity.
Modifier and Type | Method and Description |
---|---|
AbortSessionRequest |
createAbortSessionRequest()
Create a Abort-Session-Request 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.
|
CreditControlAnswer |
createRoCreditControlAnswer()
Create a Ro-specific Credit-Control-Answer message pre-populated with the AVPs appropriate for this session.
|
void |
sendAbortSessionRequest(AbortSessionRequest asr)
Send a Abort-Session-Request message to the peer.
|
void |
sendCreditControlAnswer(CreditControlAnswer cca)
Sends a Credit-Control-Answer message to the peer.
|
void |
sendReAuthRequest(ReAuthRequest rar)
Send a Re-Auth-Request message to the peer.
|
endActivity, getCcSessionFailover, getCcSessionState, getCreditControlFailureHandling, getDirectDebitingFailureHandling, getLastReceiveTime, getLastSendTime, getRoMessageFactory, getSessionId, hasCcSessionFailover, hasCreditControlFailureHandling, hasDirectDebitingFailureHandling
CreditControlAnswer createRoCreditControlAnswer()
void sendCreditControlAnswer(CreditControlAnswer cca) throws SendException
cca
- the CreditControlAnswer to sendSendException
ReAuthRequest createReAuthRequest()
void sendReAuthRequest(ReAuthRequest rar) throws SendException
rar
- the ReAuthRequest to sendSendException
AbortSessionRequest createAbortSessionRequest()
void sendAbortSessionRequest(AbortSessionRequest asr) throws SendException
asr
- the AbortSessionRequest to sendSendException