IBM Rational Performance Tester SDK

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

java.lang.Object
  extended by com.ibm.rational.test.lt.trace.Msg
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
ConnectionMsg, PayloadMsg, RecorderMsg, UDClassDefMsg, UDMethodBaseMsg

public class Msg
extends Object
implements Serializable

See Also:
Serialized Form

Constructor Summary
Msg()
          Class constructor.
Msg(String protocol, String vendor, String version)
          Class constructor specifying various properties.
 
Method Summary
 String getProtocol()
          Gets the name of the protocol associated with this msg (example: "HTTP")
 int getTicket()
          Gets the ticket number associated with this msg
 long getTimestamp()
          Gets the timestamp associated with this msg
 String getVendor()
          Gets the name of the vendor associated with this msg (example: "IBM")
 String getVersion()
          Gets the version string associated with this msg (example: "6.1.2.0")
 void setProtocol(String protocol)
          Sets the name of the protocol associated with this msg (example: "HTTP")
 void setTicket(int t)
          Sets the ticket associated with this msg
 void setTimestamp(long timestamp)
          Sets the timestamp associated with this msg
 void setVendor(String vendor)
          Sets the name of the vendor associated with this msg (example: "IBM")
 void setVersion(String version)
          Sets the version string associated with this msg (example: "6.1.2.0")
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Msg

public Msg()
Class constructor.


Msg

public Msg(String protocol,
           String vendor,
           String version)
Class constructor specifying various properties.

Parameters:
protocol - protocol name (example: "HTTP")
vendor - vendor name (example: "IBM")
version - version string (example: "6.1.2.0")
Method Detail

getProtocol

public String getProtocol()
Gets the name of the protocol associated with this msg (example: "HTTP")

Returns:
name of protocol associated with this msg

setProtocol

public void setProtocol(String protocol)
Sets the name of the protocol associated with this msg (example: "HTTP")

Parameters:
protocol - name of protocol associated with this msg

getVendor

public String getVendor()
Gets the name of the vendor associated with this msg (example: "IBM")

Returns:
name of vendor associated with this msg

setVendor

public void setVendor(String vendor)
Sets the name of the vendor associated with this msg (example: "IBM")

Parameters:
vendor - name of vendor associated with this msg

getVersion

public String getVersion()
Gets the version string associated with this msg (example: "6.1.2.0")

Returns:
version string associated with this msg

setVersion

public void setVersion(String version)
Sets the version string associated with this msg (example: "6.1.2.0")

Parameters:
version - version string associated with this msg

getTimestamp

public long getTimestamp()
Gets the timestamp associated with this msg

Returns:
timestamp associated with this msg

setTimestamp

public void setTimestamp(long timestamp)
Sets the timestamp associated with this msg

Parameters:
timestamp - timestamp associated with this msg

getTicket

public int getTicket()
Gets the ticket number associated with this msg

Returns:
ticket number associated with this msg

setTicket

public void setTicket(int t)
Sets the ticket associated with this msg

Parameters:
t - ticket associated with this msg

IBM Rational Performance Tester SDK

© Copyright IBM Corp. 2012. All rights reserved.