|
IBM Rational Performance Tester SDK | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.rational.test.lt.trace.Msg
com.ibm.rational.test.lt.trace.UDMethodBaseMsg
public class UDMethodBaseMsg
Constructor Summary | |
---|---|
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. |
Method Summary | |
---|---|
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. |
Methods inherited from class com.ibm.rational.test.lt.trace.Msg |
---|
getProtocol, getTicket, getTimestamp, getVendor, getVersion, setProtocol, setTicket, setTimestamp, setVendor, setVersion |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public 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.)Method Detail |
---|
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 to
TraceException
- 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 to
TraceException
- if the specified parameter index is out of rangepublic String getParameterString(int ndx) throws TraceException
ndx
- the zero-based index of the parameter
TraceException
- if the specified parameter index is out of rangepublic byte[] getParameterBytes(int ndx) throws TraceException
ndx
- the zero-based index of the parameter
TraceException
- if the specified parameter index is out of range
|
IBM Rational Performance Tester SDK | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |