|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface DisconnectPeerRequest
Defines an interface representing the Disconnect-Peer-Request command. From the Diameter Base Protocol (rfc3588.txt) specification:
5.4.1. Disconnect-Peer-Request
The Disconnect-Peer-Request (DPR), indicated by the Command-Code set
to 282 and the Command Flags' 'R' bit set, is sent to a peer to
inform its intentions to shutdown the transport connection. Upon
detection of a transport failure, this message MUST NOT be sent to an
alternate peer.
Message Format
<Disconnect-Peer-Request> ::= < Diameter Header: 282, REQ >
{ Origin-Host }
{ Origin-Realm }
{ Disconnect-Cause }
| Field Summary | |
|---|---|
static int |
commandCode
|
| Method Summary | |
|---|---|
DisconnectCauseType |
getDisconnectCause()
Returns the value of the Disconnect-Cause AVP, of type Enumerated. |
boolean |
hasDisconnectCause()
Returns true if the Disconnect-Cause AVP is present in the message. |
void |
setDisconnectCause(DisconnectCauseType disconnectCause)
Sets the value of the Disconnect-Cause AVP, of type Enumerated. |
| Methods inherited from interface net.java.slee.resource.diameter.base.events.DiameterMessage |
|---|
clone, getAvps, getCommand, getDestinationHost, getDestinationRealm, getExtensionAvps, getHeader, getOriginHost, getOriginRealm, getSessionId, hasOriginHost, hasOriginRealm, hasSessionId, setDestinationHost, setDestinationRealm, setExtensionAvps, setOriginHost, setOriginRealm, setSessionId |
| Field Detail |
|---|
static final int commandCode
| Method Detail |
|---|
boolean hasDisconnectCause()
DisconnectCauseType getDisconnectCause()
void setDisconnectCause(DisconnectCauseType disconnectCause)
java.lang.IllegalStateException - if setDisconnectCause has already been called
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||