public interface DiameterHeader
extends java.lang.Cloneable
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
clone()
Creates and returns a deep copy of this diameter header instance.
|
int |
getApplicationId()
Return application ID from this Diameter header.
|
int |
getCommandCode()
Return the command code stored in this Diameter header.
|
int |
getEndToEndId()
Return End-to-End ID from this Diameter header.
|
int |
getHopByHopId()
Return Hop-by-Hop ID from this Diameter header.
|
int |
getMessageLength()
Return the message length stored in this Diameter header.
|
short |
getVersion()
Return the Diameter version ID from this Diameter header.
|
boolean |
isError()
Return true if the error flag is set in this header.
|
boolean |
isPotentiallyRetransmitted()
Return true if the potentially retransmitted flag is set in this header.
|
boolean |
isProxiable()
Return true if the proxiable flag is set in this header.
|
boolean |
isRequest()
Return true if the request flag is set in this header.
|
void |
setPotentiallyRetransmitted(boolean isPotentiallyRetransmitted)
Sets the state of potentially retransmitted flag in this header.
|
boolean isRequest()
boolean isProxiable()
boolean isError()
boolean isPotentiallyRetransmitted()
void setPotentiallyRetransmitted(boolean isPotentiallyRetransmitted) throws java.lang.IllegalArgumentException
isPotentiallyRetransmitted
- true if message is a possible duplicate, false otherwise.java.lang.IllegalArgumentException
- if isPotentiallyRetransmitted value is set to true for an answer
(that is isRequest()
is false). This flag
MUST NOT be set in answer messages.int getApplicationId()
int getHopByHopId()
int getEndToEndId()
short getVersion()
int getMessageLength()
int getCommandCode()
java.lang.Object clone()