public class RecorderMsg extends Msg
Constructor and Description |
---|
RecorderMsg()
Class constructor.
|
RecorderMsg(String protocol,
String vendor,
String version,
int type)
Class constructor specifying various properties.
|
RecorderMsg(String protocol,
String vendor,
String version,
int type,
byte[] bData)
Class constructor specifying various properties.
|
RecorderMsg(String protocol,
String vendor,
String version,
int type,
String sData)
Class constructor specifying various properties.
|
Modifier and Type | Method and Description |
---|---|
byte[] |
getBytes()
Gets the (optional) binary data associated with this msg.
|
int |
getBytesLength()
Gets the length of the (optional) binary data associated with this msg.
|
String |
getString()
Gets the (optional) string data associated with this msg.
|
int |
getType()
Gets the type of information associated with this msg.
|
void |
setBytes(byte[] bData)
Sets the (optional) binary data associated with this msg.
|
void |
setString(String sData)
Sets the (optional) string data associated with this msg.
|
void |
setType(int type)
Sets the type of information associated with this msg.
|
getProtocol, getTicket, getTimestamp, getVendor, getVersion, setProtocol, setTicket, setTimestamp, setVendor, setVersion
public RecorderMsg()
public RecorderMsg(String protocol, String vendor, String version, int type)
protocol
- protocol name (example: "HTTP")vendor
- vendor name (example: "IBM")version
- version string (example: "6.1.2.0")type
- integer reflecting the type of information associated
with this msgpublic RecorderMsg(String protocol, String vendor, String version, int type, byte[] bData)
protocol
- protocol name (example: "HTTP")vendor
- vendor name (example: "IBM")version
- version string (example: "6.1.2.0")type
- integer reflecting the type of information associated
with this msgbData
- binary data associated with this msgpublic RecorderMsg(String protocol, String vendor, String version, int type, String sData)
protocol
- protocol name (example: "HTTP")vendor
- vendor name (example: "IBM")version
- version string (example: "6.1.2.0")type
- integer reflecting the type of information associated
with this msgsData
- string data associated with this msgpublic int getType()
public void setType(int type)
type
- integer reflecting the type of information associated
with this msgpublic int getBytesLength()
public byte[] getBytes()
public void setBytes(byte[] bData)
bData
- the binary datapublic String getString()
public void setString(String sData)
sData
- the string data© Copyright IBM Corp. 2013. All rights reserved.