public interface DiameterActivity
Modifier and Type | Method and Description |
---|---|
DiameterMessageFactory |
getDiameterMessageFactory()
Return a DiameterMessageFactory implementation to be used to create
DiameterAvp
instances to add when creating a DiameterMessage object to be fired on 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.
|
java.lang.String |
getSessionId()
Return the Session ID for this activity.
|
void |
sendMessage(DiameterMessage message)
Sends the given DiameterMessage on the DiameterActivity.
|
DiameterMessageFactory getDiameterMessageFactory()
DiameterAvp
instances to add when creating a DiameterMessage
object to be fired on this Activity.void sendMessage(DiameterMessage message) throws SendException
message
- the Diameter message to sendSendException
java.lang.String getSessionId()
long getLastSendTime()
long getLastReceiveTime()