java.lang.Object
public TransportManagerBase(BaseTransportConfig config,TransportManagerBase.TransportEventListener listener)
public abstract void start()
public abstract void close(long sessionId)
Check to see if a transport is connected.
public abstract boolean isConnected(TransportType transportType,String address)
Retrieve a transport record with the supplied params
public abstract 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 abstract void sendPacket(SdlPacket packet)
Base implementation does nothing and assumes it is not necessary. This method should be overridden in children classes that need to add a prerequest to their transports to make space ready for a new session.
public void requestNewSession(TransportRecord transportRecord)
public void requestSecondaryTransportConnection(byte sessionId,TransportRecord transportRecord)
From Class | Methods |
---|---|
java.lang.Object | getClass, hashCode, equals, clone, toString, notify, notifyAll, wait, wait, wait, finalize |