public interface AccountingClientSessionActivity extends AccountingSessionActivity
Modifier and Type | Method and Description |
---|---|
AccountingRequest |
createAccountingRequest(AccountingRecordType accountingRecordType)
Create an Accounting-Request message populated with the following AVPs:
Accounting-Record-Type: as per accountingRecordType parameter
Acct-Application-Id: the value 3 as specified by RFC6733
|
void |
sendAccountingRequest(AccountingRequest accountingRequest)
Send an Accounting Request.
|
endActivity, getLastReceiveTime, getLastSendTime, getMessageFactory, getSessionId, getSessionState
AccountingRequest createAccountingRequest(AccountingRecordType accountingRecordType)
accountingRecordType
- value for the Accounting-Record-Type AVPvoid sendAccountingRequest(AccountingRequest accountingRequest) throws java.lang.IllegalArgumentException, SendException
accountingRequest
- the Accounting-Request message to sendSendException
- if the message could not be sentjava.lang.IllegalArgumentException
- if accountingRequest is missing any required AVPs