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

Class MultiplexTcpTransport

Hierarchy

java.lang.Object
     com.smartdevicelink.transport.MultiplexBaseTransport

Package
com.smartdevicelink.transport

Fields

Inherited Fields

From Class Fields
com.smartdevicelink.transport.MultiplexBaseTransport STATE_NONE, STATE_LISTEN, STATE_CONNECTING, STATE_CONNECTED, STATE_ERROR, LOG, DEVICE_NAME, DEVICE_ADDRESS, mState, handler, transportType, transportRecord, currentlyConnectedDevice, connectedDeviceName, connectedDeviceAddress

Constructors

MultiplexTcpTransport( int port, String ipAddress, boolean autoReconnect, Handler handler, Context context )

public MultiplexTcpTransport(int port,String ipAddress,boolean autoReconnect,Handler handler,Context context)

Parameters

port
ipAddress
autoReconnect
handler
context

Methods

start()

public synchronized void start()

stop( int state )

protected void stop(int state)

Parameters

state

write( byte[] out, int offset, int count )

public void write(byte[] out,int offset,int count)

Parameters

out
offset
count

Inherited Methods

From Class Methods
com.smartdevicelink.transport.MultiplexBaseTransport setState, getAddress, getDeviceName, getTransportRecord, getState, isConnected, stop, stop, write
java.lang.Object getClass, hashCode, equals, clone, toString, notify, notifyAll, wait, wait, wait, finalize
View on GitHub.com
Previous Section Next Section