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

Class MultiplexTransport

Hierarchy

java.lang.Object
     com.smartdevicelink.transport.SdlTransport

Package
com.smartdevicelink.transport

Fields

isDisconnecting

protected boolean isDisconnecting

Constructors

MultiplexTransport( MultiplexTransportConfig transportConfig, ITransportListener transportListener )

public MultiplexTransport(MultiplexTransportConfig transportConfig,ITransportListener transportListener)

Parameters

transportConfig
transportListener

Methods

isDisconnecting()

public boolean isDisconnecting()

getConfig()

Returns the config that was used to create this transport

public com.smartdevicelink.transport.MultiplexTransportConfig getConfig()

requestNewSession()

public boolean requestNewSession()

removeSession( long sessionId )

public void removeSession(long sessionId)

Parameters

sessionId

getTransportType()

Overridden abstract method which returns specific type of this transport.

public com.smartdevicelink.transport.enums.TransportType getTransportType()

getBroadcastComment()

public java.lang.String getBroadcastComment()

sendBytesOverTransport( SdlPacket packet )

protected boolean sendBytesOverTransport(SdlPacket packet)

Parameters

packet

openConnection()

public void openConnection() throws com.smartdevicelink.exception.SdlException

Throws

disconnect()

public void disconnect()

handleTransportError( String message, Exception ex )

protected void handleTransportError(String message,Exception ex)

Parameters

message
ex

isPendingConnected()

public boolean isPendingConnected()

Inherited Methods

From Class Methods
com.smartdevicelink.transport.SdlTransport getIsConnected, handleReceivedPacket, sendBytesOverTransport, sendBytes, handleTransportConnected, handleTransportDisconnected, handleTransportError, openConnection, disconnect, getTransportType, getBroadcastComment
java.lang.Object getClass, hashCode, equals, clone, toString, notify, notifyAll, wait, wait, wait, finalize
View on GitHub.com
Previous Section Next Section