A class for managing JSON messages.
More...
#include <JsonMng.h>
|
(instancetype) | - initWithMgmtMsg: |
| Initializes a new instance with the given management message.
|
|
|
NSString * | command |
| Mgmt command sent to printer or response from printer.
|
|
NSString * | from |
| Identifies the message sender. If printer sends a response, this will be in the To field of the response.
|
|
NSString * | to |
| Identifies the intended message receiver. If this is a response, this has the From that was in the original message.
|
|
NSString * | trackNo |
| This can be set to any value but in order to differentiate messages intended for the same recipient, this should be unique for every message.
|
|
NSString * | strResponse |
| The response string of the JSON message.
|
|
A class for managing JSON messages.
◆ initWithMgmtMsg:
- (instancetype) initWithMgmtMsg: |
|
(NSString *) | mgmtMsg |
|
Initializes a new instance with the given management message.
- Parameters
-
mgmtMsg | The management message to initialize with. |
- Returns
- An initialized instance of JsonMng, or nil if the object could not be created.
◆ command
Mgmt command sent to printer or response from printer.
◆ from
Identifies the message sender. If printer sends a response, this will be in the To field of the response.
◆ strResponse
- (NSString*) strResponse |
|
readwritenonatomicstrong |
The response string of the JSON message.
◆ to
Identifies the intended message receiver. If this is a response, this has the From that was in the original message.
◆ trackNo
This can be set to any value but in order to differentiate messages intended for the same recipient, this should be unique for every message.
The documentation for this class was generated from the following file:
- /Users/realbuber/Documents/Project/sdk_json_Objective-C/AutoIdSDK/Json/JsonMng.h