1
wei
2021-01-21 62d098cb78296feaa6f786a20748921338db838c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
//
//  MQTTTransport.m
//  MQTTClient
//
//  Created by Christoph Krey on 05.01.16.
//  Copyright © 2016-2017 Christoph Krey. All rights reserved.
//
 
#import "MQTTTransport.h"
 
#import "MQTTLog.h"
 
@implementation MQTTTransport
@synthesize state;
@synthesize queue;
@synthesize streamSSLLevel;
@synthesize delegate;
@synthesize host;
@synthesize port;
 
- (instancetype)init {
    self = [super init];
    self.state = MQTTTransportCreated;
    return self;
}
 
- (void)open {
    DDLogError(@"MQTTTransport is abstract class");
}
 
- (void)close {
    DDLogError(@"MQTTTransport is abstract class");
}
 
- (BOOL)send:(NSData *)data {
    DDLogError(@"MQTTTransport is abstract class");
    return FALSE;
}
 
@end