summaryrefslogtreecommitdiff
path: root/SmartDeviceLink-iOS/SmartDeviceLink/SDLInterfaceProtocol.h
blob: 41e2435909383e24b1ff931bd24302411838a844 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
//  SDLProtocol.h
//
//  Copyright (c) 2014 Ford Motor Company. All rights reserved.


#import "SDLProtocolListener.h"
#import "SDLProtocolMessage.h"
#import "SDLRPCRequest.h"
#import "SDLTransport.h"
#import "SDLTransportDelegate.h"

@protocol SDLInterfaceProtocol<SDLTransportDelegate>

@property (weak) id<SDLProtocolListener> protocolDelegate;
@property (strong) id<SDLTransport> transport;

- (void)handleBytesFromTransport:(NSData *)receivedData;
- (void)sendStartSessionWithType:(SDLServiceType)sessionType;
- (void)sendEndSessionWithType:(SDLServiceType)sessionType sessionID:(Byte)sessionID;
- (void)sendRPCRequest:(SDLRPCRequest *)rpcRequest;

@end