Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions MQTTKit/MQTTKit.h
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ typedef void (^MQTTDisconnectionHandler)(NSUInteger code);
@property (readwrite, assign) unsigned int reconnectDelayMax; // in seconds (default is 1)
@property (readwrite, assign) BOOL reconnectExponentialBackoff; // wheter to backoff exponentially the reconnect attempts (default is NO)
@property (readwrite, assign) BOOL cleanSession;
@property (readonly, assign) BOOL connected;
@property (nonatomic, copy) MQTTMessageHandler messageHandler;
@property (nonatomic, copy) MQTTDisconnectionHandler disconnectionHandler;

Expand Down
2 changes: 1 addition & 1 deletion MQTTKit/MQTTKit.m
Original file line number Diff line number Diff line change
Expand Up @@ -60,12 +60,12 @@ - (NSString *)payloadString {

@interface MQTTClient()

@property (nonatomic, assign) BOOL connected;
@property (nonatomic, copy) void (^connectionCompletionHandler)(NSUInteger code);
@property (nonatomic, strong) NSMutableDictionary *subscriptionHandlers;
@property (nonatomic, strong) NSMutableDictionary *unsubscriptionHandlers;
// dictionary of mid -> completion handlers for messages published with a QoS of 1 or 2
@property (nonatomic, strong) NSMutableDictionary *publishHandlers;
@property (nonatomic, assign) BOOL connected;

@end

Expand Down