summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicoleYarroch <nicole@livio.io>2019-05-29 11:27:13 -0400
committerNicoleYarroch <nicole@livio.io>2019-05-29 11:27:13 -0400
commit237d52ab429c52e0292bf45470acf2b676680531 (patch)
tree11748e0ead5e8d502ad87136c62b92fc849b9655
parentcfff2c41d91579890d49339ad8c19b4015318d6a (diff)
downloadsdl_ios-237d52ab429c52e0292bf45470acf2b676680531.tar.gz
Renamed data session connected delegate method
-rw-r--r--SmartDeviceLink/SDLIAPDataSession.m2
-rw-r--r--SmartDeviceLink/SDLIAPDataSessionDelegate.h2
-rw-r--r--SmartDeviceLink/SDLIAPTransport.m2
3 files changed, 3 insertions, 3 deletions
diff --git a/SmartDeviceLink/SDLIAPDataSession.m b/SmartDeviceLink/SDLIAPDataSession.m
index 205875116..4099ca7aa 100644
--- a/SmartDeviceLink/SDLIAPDataSession.m
+++ b/SmartDeviceLink/SDLIAPDataSession.m
@@ -259,7 +259,7 @@ NS_ASSUME_NONNULL_BEGIN
if (self.isInputStreamOpen && self.isOutputStreamOpen) {
SDLLogV(@"Data session I/O streams opened for protocol: %@", self.protocolString);
if (self.delegate == nil) { return; }
- [self.delegate transportConnected];
+ [self.delegate dataSessionDidConnect];
}
}
diff --git a/SmartDeviceLink/SDLIAPDataSessionDelegate.h b/SmartDeviceLink/SDLIAPDataSessionDelegate.h
index a6a5ccfeb..6c6724213 100644
--- a/SmartDeviceLink/SDLIAPDataSessionDelegate.h
+++ b/SmartDeviceLink/SDLIAPDataSessionDelegate.h
@@ -14,7 +14,7 @@ NS_ASSUME_NONNULL_BEGIN
- (void)dataSessionShouldRetry;
- (void)dataReceived:(NSData *)dataIn;
-- (void)transportConnected;
+- (void)dataSessionDidConnect;
@end
diff --git a/SmartDeviceLink/SDLIAPTransport.m b/SmartDeviceLink/SDLIAPTransport.m
index 6fe44df07..7c2c0e82b 100644
--- a/SmartDeviceLink/SDLIAPTransport.m
+++ b/SmartDeviceLink/SDLIAPTransport.m
@@ -472,7 +472,7 @@ int const CreateSessionRetries = 3;
/**
* Called when the data session has been established. Notify the delegate that the transport has been connected.
*/
-- (void)transportConnected {
+- (void)dataSessionDidConnect {
self.sessionSetupInProgress = NO;
[self.delegate onTransportConnected];
}