Interface AccountingSessionActivity
-
- All Known Subinterfaces:
AccountingClientSessionActivity
,AccountingServerSessionActivity
public interface AccountingSessionActivity
Superinterface for accounting activities.- Author:
- OpenCloud
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
endActivity()
End this activity.long
getLastReceiveTime()
Returns the timestamp for the last message received on this activity, or 0 if no timestamp is available.long
getLastSendTime()
Returns the timestamp for the last message sent on this activity, or 0 if no timestamp is available.DiameterMessageFactory
getMessageFactory()
Get a DiameterMessageFactory to create messages and AVPs.String
getSessionId()
Returns the session ID of the accounting session, which uniquely identifies the session.AccountingSessionState
getSessionState()
Returns the state of this accounting session, which will affect what types of messages may be sent.
-
-
-
Method Detail
-
getMessageFactory
DiameterMessageFactory getMessageFactory()
Get a DiameterMessageFactory to create messages and AVPs.
-
getSessionState
AccountingSessionState getSessionState()
Returns the state of this accounting session, which will affect what types of messages may be sent.
-
getSessionId
String getSessionId()
Returns the session ID of the accounting session, which uniquely identifies the session.
-
endActivity
void endActivity() throws IllegalStateException
End this activity. This does not cause any messages to be sent, it simply ends the activity in the SLEE.- Throws:
IllegalStateException
-
getLastSendTime
long getLastSendTime()
Returns the timestamp for the last message sent on this activity, or 0 if no timestamp is available.
-
getLastReceiveTime
long getLastReceiveTime()
Returns the timestamp for the last message received on this activity, or 0 if no timestamp is available.
-
-