java.lang.Object
com.smartdevicelink.transport.TransportManagerBase
Managing transports List for status of all transports If transport is not connected. Request Router service connect to it. Get connected message
public TransportManager(MultiplexTransportConfig config,TransportManagerBase.TransportEventListener listener)
start internally validates the target ROuterService, which was done in ctor before.
public void start()
public void close(long sessionId)
Check to see if a transport is connected.
public boolean isConnected(TransportType transportType,String address)
Retrieve a transport record with the supplied params
public com.smartdevicelink.transport.utl.TransportRecord getTransportRecord(TransportType transportType,String address)
Retrieves the currently connected transports
public java.util.List getConnectedTransports()
public boolean isHighBandwidthAvailable()
public com.smartdevicelink.transport.BaseTransportConfig updateTransportConfig(BaseTransportConfig config)
public void sendPacket(SdlPacket packet)
public void requestNewSession(TransportRecord transportRecord)
public void requestSecondaryTransportConnection(byte sessionId,TransportRecord transportRecord)
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 |