|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Message
A Diameter message is either a request from a client to a server, or a response from a server to a client. Both Request and Answer messages use the basic format of RFC 3588 Wrapper interface allows adapt message to any driver vendor specific interface The message must support adaptable operation to Answer and Request interfaces Serializable interface allows use this class in SLEE Event objects
| Field Summary | |
|---|---|
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 |
| Method Summary | |
|---|---|
long |
getApplicationId()
Return ApplicationId value from message header |
java.util.Set<ApplicationId> |
getApplicationIdAvps()
Returns set 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. |
java.lang.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 |
| Methods inherited from interface org.jdiameter.api.Wrapper |
|---|
isWrapperFor, unwrap |
| Field Detail |
|---|
static 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
| Method Detail |
|---|
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()
java.lang.String getSessionId()
long getApplicationId()
java.util.Set<ApplicationId> getApplicationIdAvps()
long getHopByHopIdentifier()
long getEndToEndIdentifier()
AvpSet getAvps()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||