Expand Minimize Picture-in-picture Power Device Status Voice Recognition Skip Back Skip Forward Minus Plus Play Search
Internet Explorer alert
This browser is not recommended for use with smartdevicelink.com, and may not function properly. Upgrade to a different browser to guarantee support of all features.
close alert
Documentation
TransportInterface

Interface TransportInterface

Package
com.smartdevicelink.transport
All Known Implementing Classes
com.smartdevicelink.transport.CustomTransport, com.smartdevicelink.transport.WebSocketServer

Overview

This interface defines the basic methods that a transport must implement

Methods

start()

public void start()

stop()

public void stop()

write( SdlPacket packet )

public void write(SdlPacket packet)

Parameters

packet

setCallback( TransportCallback callback )

public void setCallback(TransportCallback callback)

Parameters

callback

getTransportRecord()

public com.smartdevicelink.transport.utl.TransportRecord getTransportRecord()
View on GitHub.com
Previous Section Next Section