Public Member Functions | |
MgmtMsg () | |
MgmtMsg (String mgmtMsg) | |
All fields created from fully formed management/json message. More... | |
String | toString () |
This is the JSON formatted equivalent of the command structure. More... | |
Public Attributes | |
String | Command = "" |
Mgmt command sent to printer or response from printer. More... | |
String | From = "" |
Identifies the message sender. If the printer sends a response, this will be in the To field of the response. More... | |
String | To = "" |
Identifies the intended message receiver. If this is a response, this has the From that was in the original message. More... | |
String | TrackNo = "" |
This can be set to any value, but to differentiate messages intended for the same recipient, this should be unique for every message. More... | |
String | Content = "" |
This is the command-dependent content/data. Callers are responsible for creating/parsing the proper JSON format. More... | |
com.UniPRT.Sdk.Mgmt.MgmtMsg.MgmtMsg | ( | ) |
com.UniPRT.Sdk.Mgmt.MgmtMsg.MgmtMsg | ( | String | mgmtMsg | ) |
All fields created from fully formed management/json message.
References com.UniPRT.Sdk.Mgmt.MgmtMsg.Command, com.UniPRT.Sdk.Mgmt.MgmtMsg.Content, com.UniPRT.Sdk.Mgmt.MgmtMsg.From, com.UniPRT.Sdk.Json.JsonStringTokenizer.GetKeyValue(), com.UniPRT.Sdk.Mgmt.MgmtMsg.To, and com.UniPRT.Sdk.Mgmt.MgmtMsg.TrackNo.
String com.UniPRT.Sdk.Mgmt.MgmtMsg.toString | ( | ) |
This is the JSON formatted equivalent of the command structure.
References com.UniPRT.Sdk.Mgmt.MgmtMsg.Command, com.UniPRT.Sdk.Mgmt.MgmtMsg.Content, com.UniPRT.Sdk.Json.JsonStringBuilder.CreateMsgFrame(), com.UniPRT.Sdk.Mgmt.MgmtMsg.From, com.UniPRT.Sdk.Mgmt.MgmtMsg.To, and com.UniPRT.Sdk.Mgmt.MgmtMsg.TrackNo.
String com.UniPRT.Sdk.Mgmt.MgmtMsg.Command = "" |
Mgmt command sent to printer or response from printer.
Referenced by com.UniPRT.Sdk.Mgmt.MgmtMsg.MgmtMsg(), and com.UniPRT.Sdk.Mgmt.MgmtMsg.toString().
String com.UniPRT.Sdk.Mgmt.MgmtMsg.Content = "" |
This is the command-dependent content/data. Callers are responsible for creating/parsing the proper JSON format.
Referenced by com.UniPRT.Sdk.Mgmt.MgmtMsg.MgmtMsg(), and com.UniPRT.Sdk.Mgmt.MgmtMsg.toString().
String com.UniPRT.Sdk.Mgmt.MgmtMsg.From = "" |
Identifies the message sender. If the printer sends a response, this will be in the To field of the response.
Referenced by com.UniPRT.Sdk.Mgmt.MgmtMsg.MgmtMsg(), and com.UniPRT.Sdk.Mgmt.MgmtMsg.toString().
String com.UniPRT.Sdk.Mgmt.MgmtMsg.To = "" |
Identifies the intended message receiver. If this is a response, this has the From that was in the original message.
Referenced by com.UniPRT.Sdk.Mgmt.MgmtMsg.MgmtMsg(), and com.UniPRT.Sdk.Mgmt.MgmtMsg.toString().
String com.UniPRT.Sdk.Mgmt.MgmtMsg.TrackNo = "" |
This can be set to any value, but to differentiate messages intended for the same recipient, this should be unique for every message.
Referenced by com.UniPRT.Sdk.Mgmt.MgmtMsg.MgmtMsg(), com.UniPRT.Sdk.Mgmt.Messenger.SendMsgAndWaitForResponse(), and com.UniPRT.Sdk.Mgmt.MgmtMsg.toString().