|
Oracle Communications Converged Application Server Java API Reference 5.0 E18767-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
com.bea.wcp.diameter.Command
public final class Command
Diameter command information.
Field Summary | |
---|---|
static Command |
ACA Accounting-Answer (ACA) |
static Command |
ACR Accounting-Request (ACR) |
static Command |
ASA Abort-Session-Answer (ASA) |
static Command |
ASR Abort-Session-Request (ASR) |
static Command |
CEA Capabilities-Exchange-Answer (CEA) |
static Command |
CER Capabilities-Exchange-Request (CER) |
static int |
CODE_AC |
static int |
CODE_CE |
static int |
CODE_DP |
static int |
CODE_DW |
static int |
CODE_RA |
static Command |
DPA Disconnect-Peer-Answer (DPA) |
static Command |
DPR Disconnect-Peer-Request (DPR) |
static Command |
DWA Device-Watchdog-Answer (DWA) |
static Command |
DWR Device-Watchdog-Request (DWR) |
static Command |
RAA Re-Auth-Answer (RAA) |
static Command |
RAR Re-Auth-Request (RAR) |
static Command |
STA Session-Termination-Answer (STA) |
static Command |
STR Session-Termination-Request (STR) |
Method Summary | |
---|---|
XmlBuffer |
appendXml(XmlBuffer xb) |
static Command |
define(int code, java.lang.String name, boolean isRequest) Defines a new Command which is proxiable and uses the default message factory. |
static Command |
define(int code, java.lang.String name, boolean isRequest, boolean isProxiable) Defines a new Command with default message factory. |
static Command |
define(int code, java.lang.String name, boolean isRequest, boolean isProxiable, MessageFactory factory) Defines a new Command. |
static Command |
getAnsByCode(int code) Returns the Command for the specified answer command code, or null if not found. |
static Command |
getByName(java.lang.String name) Returns the Command for the specified command name, or null if not found. |
int |
getCode() Returns the command code. |
MessageFactory |
getFactory() Returns the MessageFactory for this command, or null if none. |
java.lang.String |
getName() Returns the command name. |
static Command |
getReqByCode(int code) Returns the Command for the specified request command code, or null if not found. |
boolean |
isProxiable() Returns true if this command is proxiable. |
boolean |
isRequest() Returns true if this is a request command, or false if this is an answer. |
java.lang.String |
toString() |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final int CODE_CE
public static final int CODE_DW
public static final int CODE_DP
public static final int CODE_AC
public static final int CODE_RA
public static final Command ASR
public static final Command ASA
public static final Command ACR
public static final Command ACA
public static final Command CER
public static final Command CEA
public static final Command DWR
public static final Command DWA
public static final Command DPR
public static final Command DPA
public static final Command RAR
public static final Command RAA
public static final Command STR
public static final Command STA
Method Detail |
---|
public static Command define(int code, java.lang.String name, boolean isRequest, boolean isProxiable, MessageFactory factory)
code
- the command codename
- the command nameisRequest
- if true then is request, otherwise is answerisProxiable
- if true then is proxiablefactory
- optional message factory for commandpublic static Command define(int code, java.lang.String name, boolean isRequest, boolean isProxiable)
code
- the command codename
- the command nameisRequest
- if true then is request, otherwise is answerisProxiable
- if true then is proxiablepublic static Command define(int code, java.lang.String name, boolean isRequest)
code
- the command codename
- the command nameisRequest
- if true then is proxiablepublic static Command getReqByCode(int code)
public static Command getAnsByCode(int code)
public static Command getByName(java.lang.String name)
public int getCode()
public java.lang.String getName()
public boolean isRequest()
public boolean isProxiable()
public MessageFactory getFactory()
public java.lang.String toString()
toString
in class java.lang.Object
public XmlBuffer appendXml(XmlBuffer xb)
|
Oracle Communications Converged Application Server Java API Reference 5.0 E18767-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |