diff options
author | Satbir Tanda <satbirtanda@gmail.com> | 2019-08-15 18:00:19 -0700 |
---|---|---|
committer | Satbir Tanda <satbirtanda@gmail.com> | 2019-08-15 18:00:19 -0700 |
commit | c2523d123e85c89c78599ae75e4d58ef67b56257 (patch) | |
tree | cb1b19b629d0305c8b2e4021e281e8b33cb31a18 /SmartDeviceLink/SDLProxy.h | |
parent | 15131df748cd00f7e2867d866a299f74cbeeb191 (diff) | |
download | sdl_ios-c2523d123e85c89c78599ae75e4d58ef67b56257.tar.gz |
Check RPC payloadProtected in SDLProtocol layer
Diffstat (limited to 'SmartDeviceLink/SDLProxy.h')
-rw-r--r-- | SmartDeviceLink/SDLProxy.h | 27 |
1 files changed, 25 insertions, 2 deletions
diff --git a/SmartDeviceLink/SDLProxy.h b/SmartDeviceLink/SDLProxy.h index 9049cf93f..237823baa 100644 --- a/SmartDeviceLink/SDLProxy.h +++ b/SmartDeviceLink/SDLProxy.h @@ -1,6 +1,7 @@ // SDLProxy.h // +@class SDLEncryptionLifecycleManager; @class SDLProtocol; @class SDLPutFile; @class SDLRPCMessage; @@ -63,7 +64,7 @@ NS_ASSUME_NONNULL_BEGIN * @param secondaryTransportManager The secondary transport manager * @return A SDLProxy object */ -+ (SDLProxy *)iapProxyWithListener:(id<SDLProxyListener>)delegate secondaryTransportManager:(nullable SDLSecondaryTransportManager *)secondaryTransportManager; ++ (SDLProxy *)iapProxyWithListener:(id<SDLProxyListener>)delegate secondaryTransportManager:(nullable SDLSecondaryTransportManager *)secondaryTransportManager __deprecated_msg("Use iapProxyWithListener:secondaryTransportManager:encryptionLifecycleManager: instead"); /** * Creates a SDLProxy object with a TCP (WiFi) transport network connection. @@ -74,7 +75,29 @@ NS_ASSUME_NONNULL_BEGIN * @param secondaryTransportManager The secondary transport manager * @return A SDLProxy object */ -+ (SDLProxy *)tcpProxyWithListener:(id<SDLProxyListener>)delegate tcpIPAddress:(NSString *)ipaddress tcpPort:(NSString *)port secondaryTransportManager:(nullable SDLSecondaryTransportManager *)secondaryTransportManager; ++ (SDLProxy *)tcpProxyWithListener:(id<SDLProxyListener>)delegate tcpIPAddress:(NSString *)ipaddress tcpPort:(NSString *)port secondaryTransportManager:(nullable SDLSecondaryTransportManager *)secondaryTransportManager __deprecated_msg("Use tcpProxyWithListener:tcpIPAddress:tcpPort:secondaryTransportManager:encryptionLifecycleManager: instead"); + +/** + * Creates a SDLProxy object with an iap (USB / Bluetooth) transport network connection. + * + * @param delegate The subscriber + * @param secondaryTransportManager The secondary transport manager + * @param encryptionLifecycleManager The encryption life cycle manager + * @return A SDLProxy object + */ ++ (SDLProxy *)iapProxyWithListener:(id<SDLProxyListener>)delegate secondaryTransportManager:(nullable SDLSecondaryTransportManager *)secondaryTransportManager encryptionLifecycleManager:(SDLEncryptionLifecycleManager *)encryptionLifecycleManager; + +/** + * Creates a SDLProxy object with a TCP (WiFi) transport network connection. + * + * @param delegate The subscriber + * @param ipaddress The IP address of Core + * @param port The port address of Core + * @param secondaryTransportManager The secondary transport manager + * @param encryptionLifecycleManager The encryption life cycle manager + * @return A SDLProxy object + */ ++ (SDLProxy *)tcpProxyWithListener:(id<SDLProxyListener>)delegate tcpIPAddress:(NSString *)ipaddress tcpPort:(NSString *)port secondaryTransportManager:(nullable SDLSecondaryTransportManager *)secondaryTransportManager encryptionLifecycleManager:(SDLEncryptionLifecycleManager *)encryptionLifecycleManager; /** * Adds a delegate. |