Expand Minimize Picture-in-picture Power Device Status Voice Recognition Skip Back Skip Forward Minus Plus Play Search
Documentation
Sidebar

Interface IProtocolListener

Package
com.smartdevicelink.protocol
All Known Subinterfaces
com.smartdevicelink.protocol.ISdlProtocol
All Known Implementing Classes
com.smartdevicelink.SdlConnection.SdlConnection, com.smartdevicelink.SdlConnection.SdlSession2

Methods

onProtocolMessageBytesToSend( SdlPacket packet )

public void onProtocolMessageBytesToSend(SdlPacket packet)

Parameters

packet

onProtocolMessageReceived( ProtocolMessage msg )

public void onProtocolMessageReceived(ProtocolMessage msg)

Parameters

msg

onProtocolSessionStarted( SessionType sessionType, byte sessionID, byte version, String correlationID, int hashID, boolean isEncrypted )

public void onProtocolSessionStarted(SessionType sessionType,byte sessionID,byte version,String correlationID,int hashID,boolean isEncrypted)

Parameters

sessionType
sessionID
version
correlationID
hashID
isEncrypted

onProtocolSessionNACKed( SessionType sessionType, byte sessionID, byte version, String correlationID, java.util.List<java.lang.String> rejectedParams )

public void onProtocolSessionNACKed(SessionType sessionType,byte sessionID,byte version,String correlationID,java.util.List<java.lang.String> rejectedParams)

Parameters

sessionType
sessionID
version
correlationID
rejectedParams

onProtocolSessionEnded( SessionType sessionType, byte sessionID, String correlationID )

public void onProtocolSessionEnded(SessionType sessionType,byte sessionID,String correlationID)

Parameters

sessionType
sessionID
correlationID

onProtocolSessionEndedNACKed( SessionType sessionType, byte sessionID, String correlationID )

public void onProtocolSessionEndedNACKed(SessionType sessionType,byte sessionID,String correlationID)

Parameters

sessionType
sessionID
correlationID

onProtocolHeartbeat( SessionType sessionType, byte sessionID )

public void onProtocolHeartbeat(SessionType sessionType,byte sessionID)

Parameters

sessionType
sessionID

onProtocolHeartbeatACK( SessionType sessionType, byte sessionID )

Called when a protocol heartbeat ACK message has been received from SDL.

public void onProtocolHeartbeatACK(SessionType sessionType,byte sessionID)

Parameters

sessionType
sessionID

onProtocolServiceDataACK( SessionType sessionType, int dataSize, byte sessionID )

public void onProtocolServiceDataACK(SessionType sessionType,int dataSize,byte sessionID)

Parameters

sessionType
dataSize
sessionID

onResetOutgoingHeartbeat( SessionType sessionType, byte sessionID )

public void onResetOutgoingHeartbeat(SessionType sessionType,byte sessionID)

Parameters

sessionType
sessionID

onResetIncomingHeartbeat( SessionType sessionType, byte sessionID )

public void onResetIncomingHeartbeat(SessionType sessionType,byte sessionID)

Parameters

sessionType
sessionID

onProtocolError( String info, Exception e )

public void onProtocolError(String info,Exception e)

Parameters

info
e
View on GitHub.com
Previous Section Next Section