Interface RoServerSessionActivity
-
- All Superinterfaces:
RoSessionActivity
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.
- 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.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.-
Methods inherited from interface org.jainslee.resources.diameter.ro.v820.RoSessionActivity
endActivity, getCcSessionFailover, getCcSessionState, getCreditControlFailureHandling, getDirectDebitingFailureHandling, getLastReceiveTime, getLastSendTime, getRoMessageFactory, getSessionId, getTrackingKey, hasCcSessionFailover, hasCreditControlFailureHandling, hasDirectDebitingFailureHandling, startReplicating
-
-
-
-
Method Detail
-
createRoCreditControlAnswer
CreditControlAnswer createRoCreditControlAnswer()
Create a Ro-specific Credit-Control-Answer message pre-populated with the AVPs appropriate for this session.- Returns:
- a new CreditControlAnswer
-
sendCreditControlAnswer
void sendCreditControlAnswer(CreditControlAnswer cca) throws SendException
Sends a Credit-Control-Answer message to the peer.- 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 peer.- 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 peer.- Parameters:
asr
- the AbortSessionRequest to send- Throws:
SendException
-
-