summaryrefslogtreecommitdiff
path: root/SmartDeviceLink/SDLProtocolReceivedMessageRouter.h
blob: 30cafa5da1af766908666c1dcb825e06fb1e1f2a (plain)
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
//  SDLProtocolReceivedMessageRouter.h
//


#import "SDLProtocolListener.h"
@class SDLProtocolMessage;

NS_ASSUME_NONNULL_BEGIN

@interface SDLProtocolReceivedMessageRouter : NSObject

/**
 *  A listener.
 */
@property (weak, nonatomic, nullable) id<SDLProtocolListener> delegate;

/**
 *  Called when a message is received from Core.
 *
 *  @param message A SDLProtocolMessage object
 */
- (void)handleReceivedMessage:(SDLProtocolMessage *)message;

@end

NS_ASSUME_NONNULL_END