public class Msg extends Object implements Serializable
Constructor and Description |
---|
Msg()
Class constructor.
|
Msg(String protocol,
String vendor,
String version)
Class constructor specifying various properties.
|
Modifier and Type | Method and Description |
---|---|
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")
|
public String getProtocol()
public void setProtocol(String protocol)
protocol
- name of protocol associated with this msgpublic String getVendor()
public void setVendor(String vendor)
vendor
- name of vendor associated with this msgpublic String getVersion()
public void setVersion(String version)
version
- version string associated with this msgpublic long getTimestamp()
public void setTimestamp(long timestamp)
timestamp
- timestamp associated with this msgpublic int getTicket()
public void setTicket(int t)
t
- ticket associated with this msg© Copyright IBM Corp. 2013. All rights reserved.