IBM Rational Performance Tester SDK

com.ibm.rational.test.lt.trace
Class UDClassDefMsg

java.lang.Object
  extended by com.ibm.rational.test.lt.trace.Msg
      extended by com.ibm.rational.test.lt.trace.UDClassDefMsg
All Implemented Interfaces:
Serializable

public class UDClassDefMsg
extends Msg

See Also:
Serialized Form

Constructor Summary
UDClassDefMsg()
          Class constructor.
UDClassDefMsg(String protocol, String vendor, String version, int id)
          Class constructor specifying various properties.
UDClassDefMsg(String protocol, String vendor, String version, int id, String name)
          Class constructor specifying various properties.
 
Method Summary
 int getID()
          Gets the classDef ID associated with this msg.
 String getName()
          Gets the name of this User Defined class.
 void setID(int id)
          Sets the classDef ID associated with this msg.
 void setName(String name)
          Sets the name of this User Defined class.
 
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

UDClassDefMsg

public UDClassDefMsg()
Class constructor.


UDClassDefMsg

public UDClassDefMsg(String protocol,
                     String vendor,
                     String version,
                     int id)
Class constructor specifying various properties.

Parameters:
protocol - protocol name (example: "HTTP")
vendor - vendor name (example: "IBM")
version - version string (example: "6.1.2.0")
id - the classDef ID associated with this User Defined msg (example: 1, 2, 3, etc.)

UDClassDefMsg

public UDClassDefMsg(String protocol,
                     String vendor,
                     String version,
                     int id,
                     String name)
Class constructor specifying various properties.

Parameters:
protocol - protocol name (example: "HTTP")
vendor - vendor name (example: "IBM")
version - version string (example: "6.1.2.0")
id - the classDef ID associated with this User Defined msg (example: 1, 2, 3, etc.)
name - the name of this User Defined class. (example: 'org.third.party.recorder.protocolX_1.0.0.0.MyArbitraryName')
Method Detail

getID

public int getID()
Gets the classDef ID associated with this msg.

Returns:
integer reflecting the classDef ID associated with this msg

setID

public void setID(int id)
Sets the classDef ID associated with this msg. This value will be subsequently used to associate UDMethodDefMsg objects with this classDef. The actual value used here is arbitrary, but generally, a recorder should start these values at 1, and increment by 1 for each classDef defined.

Parameters:
id - integer reflecting the classDef ID associated with this msg

getName

public String getName()
Gets the name of this User Defined class.

Returns:
the name of this User Defined class

setName

public void setName(String name)
Sets the name of this User Defined class.

Parameters:
name - the name of this User Defined class

IBM Rational Performance Tester SDK

© Copyright IBM Corp. 2012. All rights reserved.