UniPRT SDK  v1.0.0.0
MgmtMsg Class Reference

Public Member Functions

 MgmtMsg (String mgmtMsg)
 All fields created from fully formed management/json message.
 
String toString ()
 This is the JSON formatted equivalent of the command structure.
 

Public Attributes

String Command = ""
 Mgmt command sent to printer or response from printer.
 
String Content = ""
 This is the command-dependent content/data. Callers are responsible for creating/parsing the proper JSON format.
 
String From = ""
 Identifies the message sender. If the printer sends a response, this will be in the To field of the response.
 
String To = ""
 Identifies the intended message receiver. If this is a response, this has the From that was in the original message.
 
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.