summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicoleYarroch <nicole@livio.io>2020-07-20 14:31:30 -0400
committerNicoleYarroch <nicole@livio.io>2020-07-20 14:31:30 -0400
commitf2599cd17bb95367834e2db7bd6ffed0555aa279 (patch)
tree2bfd0ec1645912997c85e9a5dd8aa13722ec7c33
parent68f0bf005b1c40934566a54a26e3cf6b9f543974 (diff)
downloadsdl_ios-f2599cd17bb95367834e2db7bd6ffed0555aa279.tar.gz
Fixed pragmas
Signed-off-by: NicoleYarroch <nicole@livio.io>
-rw-r--r--SmartDeviceLink/SDLProtocolDelegate.h17
1 files changed, 9 insertions, 8 deletions
diff --git a/SmartDeviceLink/SDLProtocolDelegate.h b/SmartDeviceLink/SDLProtocolDelegate.h
index cff7b1faa..8d99b853b 100644
--- a/SmartDeviceLink/SDLProtocolDelegate.h
+++ b/SmartDeviceLink/SDLProtocolDelegate.h
@@ -57,6 +57,15 @@ NS_ASSUME_NONNULL_BEGIN
/// @param protocol The transport's protocol
- (void)handleTransportEventUpdateMessage:(SDLProtocolMessage *)transportEventUpdate protocol:(SDLProtocol *)protocol;
+#pragma mark Deprecated Messages
+
+/// A ping packet that is sent to ensure the connection is still active and the service is still valid.
+/// @param session The session number
+- (void)handleHeartbeatForSession:(Byte)session;
+
+/// Called when the heartbeat message was recieved successfully.
+- (void)handleHeartbeatACK;
+
#pragma mark - Transport Lifecycle
/// Called when the transport opens.
@@ -73,14 +82,6 @@ NS_ASSUME_NONNULL_BEGIN
/// @param protocol The transport's protocol
- (void)onTransportError:(NSError *)error protocol:(SDLProtocol *)protocol;
-#pragma mark - Deprecated Protocol Messages
-
-/// A ping packet that is sent to ensure the connection is still active and the service is still valid.
-/// @param session The session number
-- (void)handleHeartbeatForSession:(Byte)session;
-
-/// Called when the heartbeat message was recieved successfully.
-- (void)handleHeartbeatACK;
@end