1 package com.smartdevicelink.smartDeviceLinkConnection;
\r
3 import com.smartdevicelink.protocol.ProtocolMessage;
\r
4 import com.smartdevicelink.protocol.enums.SessionType;
\r
6 public interface IsmartDeviceLinkConnectionListener {
\r
7 public void onTransportDisconnected(String info);
\r
9 public void onTransportError(String info, Exception e);
\r
11 public void onProtocolMessageReceived(ProtocolMessage msg);
\r
13 public void onProtocolSessionStarted(SessionType sessionType,
\r
14 byte sessionID, byte version, String correlationID);
\r
16 public void onProtocolSessionEnded(SessionType sessionType,
\r
17 byte sessionID, String correlationID);
\r
19 public void onProtocolError(String info, Exception e);
\r