summaryrefslogtreecommitdiff
path: root/SmartDeviceLink/SDLTCPTransport.h
blob: 66a526da47f64f8da9f7694a8da939384a67f18e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
//  SDLTCPTransport.h
//

#import "SDLTransportType.h"

NS_ASSUME_NONNULL_BEGIN

@interface SDLTCPTransport : NSObject <SDLTransportType> {
    _Nullable CFSocketRef socket;
}

- (instancetype)initWithHostName:(NSString *)hostName portNumber:(NSString *)portNumber;

@property (strong, nonatomic) NSString *hostName;
@property (strong, nonatomic) NSString *portNumber;
@property (nullable, weak, nonatomic) id<SDLTransportDelegate> delegate;

@end

NS_ASSUME_NONNULL_END