summaryrefslogtreecommitdiff
path: root/SmartDeviceLink-iOS/SmartDeviceLink/SDLRPCMessage.h
blob: fc5f577efccbe709ed98da5e13505c40ffe91cd3 (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
//  SDLRPCMessage.h
//

#import "SDLEnum.h"

#import "SDLRPCStruct.h"

@interface SDLRPCMessage : SDLRPCStruct {
    NSMutableDictionary *function;
    NSMutableDictionary *parameters;
    NSString *messageType;
}

- (instancetype)initWithName:(NSString *)name;
- (instancetype)initWithDictionary:(NSMutableDictionary *)dict;
- (NSString *)getFunctionName;
- (void)setFunctionName:(NSString *)functionName;
- (NSObject *)getParameters:(NSString *)functionName;
- (void)setParameters:(NSString *)functionName value:(NSObject *)value;

@property (strong) NSData *bulkData;
@property (strong, readonly) NSString *name;
@property (strong, readonly) NSString *messageType;

@end