public interface Message extends Wrapper, Serializable
| Modifier and Type | Field and Description |
|---|---|
static int |
ABORT_SESSION_ANSWER
The Abort-Session-Answer message code
|
static int |
ABORT_SESSION_REQUEST
The Abort-Session-Request message code
|
static int |
ACCOUNTING_ANSWER
The Accounting-Answer message code
|
static int |
ACCOUNTING_REQUEST
The Accounting-Request message code
|
static int |
CAPABILITIES_EXCHANGE_ANSWER
The Capabilities-Exchange-Answer message code
|
static int |
CAPABILITIES_EXCHANGE_REQUEST
The Capabilities-Exchange-Request message code
|
static int |
DEVICE_WATCHDOG_ANSWER
The Device-Watchdog-Answer message code
|
static int |
DEVICE_WATCHDOG_REQUEST
The Device-Watchdog-Request message code
|
static int |
DISCONNECT_PEER_ANSWER
The Disconnect-Peer-Answer message code
|
static int |
DISCONNECT_PEER_REQUEST
The Disconnect-Peer-Request message code
|
static int |
RE_AUTH_ANSWER
The Re-Auth-Answer message code
|
static int |
RE_AUTH_REQUEST
The Re-Auth-Request message code
|
static int |
SESSION_TERMINATION_ANSWER
The Session-Termination-Answer message code
|
static int |
SESSION_TERMINATION_REQUEST
The Session-Termination-Request message code
|
| Modifier and Type | Method and Description |
|---|---|
long |
getApplicationId()
Return ApplicationId value from message header
|
List<ApplicationId> |
getApplicationIdAvps()
Returns ordered list of Application-Id avps (Auth-Application-Id, Acc-Appplication-Id and Vendor-Specific-Application-Id avps) from message
|
AvpSet |
getAvps() |
int |
getCommandCode() |
long |
getEndToEndIdentifier()
The End-to-End Identifier is an unsigned 32-bit integer field (in
network byte order) and is used to detect duplicate messages.
|
long |
getHopByHopIdentifier()
The Hop-by-Hop Identifier is an unsigned 32-bit integer field (in
network byte order) and aids in matching requests and replies.
|
String |
getSessionId()
Return message Session Id avp Value (null if avp not set)
|
byte |
getVersion() |
boolean |
isError() |
boolean |
isProxiable() |
boolean |
isRequest() |
boolean |
isReTransmitted() |
void |
setError(boolean value)
Set 1 or 0 to E bit field of header
|
void |
setProxiable(boolean value)
Set 1 or 0 to P bit field of header
|
void |
setRequest(boolean value)
Set 1 or 0 to R bit field of header
|
void |
setReTransmitted(boolean value)
Set 1 or 0 to T bit field of header
|
isWrapperFor, unwrapstatic final int ABORT_SESSION_REQUEST
static final int ABORT_SESSION_ANSWER
static final int ACCOUNTING_REQUEST
static final int ACCOUNTING_ANSWER
static final int CAPABILITIES_EXCHANGE_REQUEST
static final int CAPABILITIES_EXCHANGE_ANSWER
static final int DEVICE_WATCHDOG_REQUEST
static final int DEVICE_WATCHDOG_ANSWER
static final int DISCONNECT_PEER_REQUEST
static final int DISCONNECT_PEER_ANSWER
static final int RE_AUTH_REQUEST
static final int RE_AUTH_ANSWER
static final int SESSION_TERMINATION_REQUEST
static final int SESSION_TERMINATION_ANSWER
byte getVersion()
boolean isRequest()
void setRequest(boolean value)
value - true == 1 or false = 0boolean isProxiable()
void setProxiable(boolean value)
value - true == 1 or false = 0boolean isError()
void setError(boolean value)
value - true == 1 or false = 0boolean isReTransmitted()
void setReTransmitted(boolean value)
value - true == 1 or false = 0int getCommandCode()
String getSessionId()
long getApplicationId()
List<ApplicationId> getApplicationIdAvps()
long getHopByHopIdentifier()
long getEndToEndIdentifier()
AvpSet getAvps()
Copyright © 2016. All Rights Reserved.