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
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, 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)

Constructor Parameters

port
ipAddress
autoReconnect
handler
context

Methods

start()

public synchronized void start()

stop( int state )

protected void stop(int state)

Method Parameters

state

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

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

Method 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