summaryrefslogtreecommitdiff
path: root/SmartDeviceLink/SDLManager.m
diff options
context:
space:
mode:
Diffstat (limited to 'SmartDeviceLink/SDLManager.m')
-rw-r--r--SmartDeviceLink/SDLManager.m6
1 files changed, 5 insertions, 1 deletions
diff --git a/SmartDeviceLink/SDLManager.m b/SmartDeviceLink/SDLManager.m
index fa7c9e8e0..a485efdcc 100644
--- a/SmartDeviceLink/SDLManager.m
+++ b/SmartDeviceLink/SDLManager.m
@@ -119,12 +119,16 @@ NS_ASSUME_NONNULL_BEGIN
#pragma mark SDLConnectionManager Protocol
+- (void)sendRPC:(__kindof SDLRPCMessage *)rpc {
+ [self.lifecycleManager sendRequest:rpc];
+}
+
- (void)sendRequest:(SDLRPCRequest *)request {
[self sendRequest:request withResponseHandler:nil];
}
- (void)sendRequest:(__kindof SDLRPCRequest *)request withResponseHandler:(nullable SDLResponseHandler)handler {
- [self.lifecycleManager sendRequest:request withResponseHandler:handler];
+ [self.lifecycleManager sendRequest:(__kindof SDLRPCMessage *)request withResponseHandler:handler];
}
- (void)sendRequests:(NSArray<SDLRPCRequest *> *)requests progressHandler:(nullable SDLMultipleAsyncRequestProgressHandler)progressHandler completionHandler:(nullable SDLMultipleRequestCompletionHandler)completionHandler {