|
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
com.ibm.rational.test.lt.trace.UDMethodDefMsg
public class UDMethodDefMsg
Constructor Summary | |
---|---|
UDMethodDefMsg()
Class constructor. |
|
UDMethodDefMsg(String protocol,
String vendor,
String version,
int id,
int cdid)
Class constructor specifying various properties. |
|
UDMethodDefMsg(String protocol,
String vendor,
String version,
int id,
int cdid,
String name)
Class constructor specifying various properties. |
Method Summary | |
---|---|
int |
addparameterDef(String name,
String type)
Add a parameter definition to the methodDef |
int |
getClassDefID()
Gets the classDef ID associated with this msg. |
int |
getID()
Gets the methodDef ID associated with this msg. |
String |
getName()
Gets the name of the method associated with this msg. |
String[] |
getParameterNames()
Gets an array of parameter names for this msg. |
String[] |
getParameterTypes()
Gets an array of parameter types for this msg. |
String |
getReturnValueType()
Gets the return value type for this msg. |
void |
setClassDefID(int cdid)
Sets the classDef ID associated with this msg. |
void |
setID(int id)
Sets the methodDef ID associated with this msg. |
void |
setName(String name)
Sets the name of the method associated with this msg. |
void |
setReturnValueType(String type)
Sets the return value type for this msg. |
Methods inherited from class com.ibm.rational.test.lt.trace.UDMethodBaseMsg |
---|
getMethodDefID, getParameterBytes, getParameterString, setMethodDefID, setParameterBytes, setParameterString |
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 UDMethodDefMsg()
public UDMethodDefMsg(String protocol, String vendor, String version, int id, int cdid)
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.)cdid
- the classDef ID associated with this User Defined msg
(example: 1, 2, 3, etc.)public UDMethodDefMsg(String protocol, String vendor, String version, int id, int cdid, String name)
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.)cdid
- the classDef ID associated with this User Defined msg
(example: 1, 2, 3, etc.)name
- name of this method (example: "method1")Method Detail |
---|
public int getID()
public void setID(int id)
id
- integer reflecting the methodDef ID associated with this msgpublic int getClassDefID()
public void setClassDefID(int cdid)
cdid
- integer reflecting the classDef ID associated with this msgpublic String getName()
public void setName(String name)
name
- string containing the method name associated with this msgpublic int addparameterDef(String name, String type) throws TraceException
name
- the name of the parametertype
- the type of the parameter (and 'type' must be either
'STRING' or 'BYTES').
TraceException
- if name or type is null or type is not "STRING" or "BYTES"public String[] getParameterNames()
public String[] getParameterTypes()
public String getReturnValueType()
public void setReturnValueType(String type) throws TraceException
type
- the return value type for this msg
TraceException
- if return value type is null or type is not "STRING" or "BYTES"
|
IBM Rational Performance Tester SDK | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |