summaryrefslogtreecommitdiff
path: root/SmartDeviceLink/SDLRPCRequest.m
blob: 3cb7af4f67e7c25bdadc4d6cd8dc25a5abe72480 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
//  SDLRPCRequest.m
//


#import "SDLRPCRequest.h"



@implementation SDLRPCRequest

- (NSNumber *)correlationID {
    return [function objectForKey:SDLNameCorrelationId];
}

- (void)setCorrelationID:(NSNumber *)corrID {
    if (corrID != nil) {
        [function setObject:corrID forKey:SDLNameCorrelationId];
    } else {
        [function removeObjectForKey:SDLNameCorrelationId];
    }
}

@end