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
To Top Created with Sketch. To Top
To Bottom Created with Sketch. To Bottom
Android Documentation
TCPTransportManager

Class TCPTransportManager

Hierarchy

java.lang.Object
     com.smartdevicelink.transport.TransportManagerBase

Package
com.smartdevicelink.transport

Constructors

TCPTransportManager( TCPTransportConfig config, TransportManagerBase.TransportEventListener transportEventListener )

public TCPTransportManager(TCPTransportConfig config,TransportManagerBase.TransportEventListener transportEventListener)

Constructor Parameters

config
transportEventListener

Methods

start()

public void start()

close( long sessionId )

public void close(long sessionId)

Method Parameters

sessionId

resetSession()

Deprecated

public void resetSession()

isConnected( TransportType transportType, String address )

public boolean isConnected(TransportType transportType,String address)

Method Parameters

transportType
address

getTransportRecord( TransportType transportType, String address )

public com.smartdevicelink.transport.utl.TransportRecord getTransportRecord(TransportType transportType,String address)

Method Parameters

transportType
address

sendPacket( SdlPacket packet )

public void sendPacket(SdlPacket packet)

Method Parameters

packet

Inherited Methods

From Class Methods
com.smartdevicelink.transport.TransportManagerBase start, close, isConnected, getTransportRecord, getConnectedTransports, isHighBandwidthAvailable, updateTransportConfig, sendPacket, requestNewSession, requestSecondaryTransportConnection
java.lang.Object getClass, hashCode, equals, clone, toString, notify, notifyAll, wait, wait, wait, finalize
View on GitHub.com
Previous Section Next Section