summaryrefslogtreecommitdiff
path: root/SmartDeviceLink/SDLRPCRequest.m
blob: 48c568c9d3c3bd9d7dae45301fd77440aaef4cf4 (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"

#import "SDLNames.h"

@implementation SDLRPCRequest

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

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

@end