|
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.Utilities
public class Utilities
Constructor Summary | |
---|---|
Utilities()
|
Method Summary | |
---|---|
static MsgRepository |
createRepository(String name)
Instantiates a MsgRepository object suitable for encapsulating protocol data. |
static Msg |
deserializeMsg(byte[] buffer,
int offset,
int length)
De-serializes the given byte stream back into a Msg. |
protected static String |
deserializeVersion(String version)
Serializes the given Msg into a byte stream. |
static byte[] |
serializeMsg(Msg msg)
Serializes the given Msg into a byte stream. |
protected static String |
serializeVersion(String version)
Serializes the given Msg into a byte stream. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Utilities()
Method Detail |
---|
public static byte[] serializeMsg(Msg msg)
msg
- the Msg object to be serialized
public static Msg deserializeMsg(byte[] buffer, int offset, int length) throws TraceException
buffer
- the byte stream to be de-serializedoffset
- the offset into the byte stream to begin de-serializationlength
- the length of the byte stream to de-serialize
TraceException
public static MsgRepository createRepository(String name) throws TraceException
name
- the path to the recording file (example '/testproj/test1.recmodel')
TraceException
protected static String serializeVersion(String version)
version
- the Msg object to be serialized
protected static String deserializeVersion(String version)
version
- the Msg object to be serialized
|
IBM Rational Performance Tester SDK | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |