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

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, ERROR_REASON_KEY, REASON_SPP_ERROR, REASON_NONE, 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, setState, getAddress, getDeviceName, getTransportRecord, getState, isConnected, stop, 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