public class UDMethodBaseMsg extends Msg
| Constructor and Description |
|---|
UDMethodBaseMsg()
Class constructor.
|
UDMethodBaseMsg(String protocol,
String vendor,
String version)
Class constructor specifying various properties.
|
UDMethodBaseMsg(String protocol,
String vendor,
String version,
int id)
Class constructor specifying various properties.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getMethodDefID()
Gets the methodDef ID associated with this msg.
|
byte[] |
getParameterBytes(int ndx)
Gets the value of the specified parameter.
|
String |
getParameterString(int ndx)
Gets the value of the specified parameter.
|
void |
setMethodDefID(int id)
Sets the methodDef ID associated with this msg.
|
void |
setParameterBytes(int ndx,
byte[] val)
Sets the value of the specified parameter.
|
void |
setParameterString(int ndx,
String val)
Sets the value of the specified parameter.
|
getProtocol, getTicket, getTimestamp, getVendor, getVersion, setProtocol, setTicket, setTimestamp, setVendor, setVersionpublic UDMethodBaseMsg()
public UDMethodBaseMsg(String protocol, String vendor, String version)
protocol - protocol name (example: "HTTP")vendor - vendor name (example: "IBM")version - version string (example: "6.1.2.0")public UDMethodBaseMsg(String protocol, String vendor, String version, int id)
protocol - protocol name (example: "HTTP")vendor - vendor name (example: "IBM")version - version string (example: "6.1.2.0")id - the methodDef ID associated with this User Defined msg
(example: 1, 2, 3, etc.)public int getMethodDefID()
public void setMethodDefID(int id)
id - integer reflecting the methodDef ID associated with this msgpublic void setParameterString(int ndx,
String val)
throws TraceException
ndx - the zero-based index of the parameterval - the string to set the paramater toTraceException - if the specified parameter index is out of rangepublic void setParameterBytes(int ndx,
byte[] val)
throws TraceException
ndx - the zero-based index of the parameterval - the byte array to set the paramater toTraceException - if the specified parameter index is out of rangepublic String getParameterString(int ndx) throws TraceException
ndx - the zero-based index of the parameterTraceException - if the specified parameter index is out of rangepublic byte[] getParameterBytes(int ndx)
throws TraceException
ndx - the zero-based index of the parameterTraceException - if the specified parameter index is out of range© Copyright IBM Corp. 2013. All rights reserved.