|
Oracle Communications Converged Application Server Java API Reference 5.1 E36938-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 |
ACAAccounting-Answer (ACA) |
static Command |
ACRAccounting-Request (ACR) |
static Command |
ASAAbort-Session-Answer (ASA) |
static Command |
ASRAbort-Session-Request (ASR) |
static Command |
CEACapabilities-Exchange-Answer (CEA) |
static Command |
CERCapabilities-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 |
DPADisconnect-Peer-Answer (DPA) |
static Command |
DPRDisconnect-Peer-Request (DPR) |
static Command |
DWADevice-Watchdog-Answer (DWA) |
static Command |
DWRDevice-Watchdog-Request (DWR) |
static Command |
RAARe-Auth-Answer (RAA) |
static Command |
RARRe-Auth-Request (RAR) |
static Command |
STASession-Termination-Answer (STA) |
static Command |
STRSession-Termination-Request (STR) |
| Method Summary | |
|---|---|
XmlBuffer |
appendXml(XmlBuffer xb) |
static Command |
define(int code, String name, boolean isRequest)Defines a new Command which is proxiable and uses the default message factory. |
static Command |
define(int code, String name, boolean isRequest, boolean isProxiable)Defines a new Command with default message factory. |
static Command |
define(int code, 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(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. |
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. |
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,
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 command
public static Command define(int code,
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 proxiable
public static Command define(int code,
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(String name)
public int getCode()
public String getName()
public boolean isRequest()
public boolean isProxiable()
public MessageFactory getFactory()
public String toString()
toString in class Objectpublic XmlBuffer appendXml(XmlBuffer xb)
|
Oracle Communications Converged Application Server Java API Reference 5.1 E36938-01 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Copyright © 2012 Oracle Corporation. All Rights Reserved.