- (void) didConnect: |
|
(NSUInteger) |
code |
|
Method that gets called upon successful connection
- Parameters
-
code | NSUInteger that represents the connection code |
Method that gets called when the client gets disconnected from the host
- (void) didPublish: |
|
(NSUInteger) |
messageId |
|
Method that gets called when the client publishes
- Parameters
-
messageId | NSUInteger that represents the message ID |
Method that gets called when the client receives a message
- Parameters
-
- (void) didSubscribe: |
|
(NSUInteger) |
messageId |
grantedQos: |
|
(NSArray *) |
qos |
|
|
| |
Method that gets called upon subscription
- Parameters
-
messageId | Id of the message that was sent |
qos | The Quality of service at which messages will be received |
- (void) didUnsubscribe: |
|
(NSUInteger) |
messageId |
|
Method that gets called when the client unsubscribes
- Parameters
-
messageId | ID of the message sent upon unsubscribe |
The documentation for this protocol was generated from the following file: