public static interface TransportManagerBase.TransportEventListener
| Modifier and Type | Method and Description |
|---|---|
void |
onError(String info) |
boolean |
onLegacyModeEnabled(String info)
Called when the transport manager has determined it needs to move towards a legacy style
transport connection.
|
void |
onPacketReceived(SdlPacket packet)
Called to indicate and deliver a packet received from transport
|
void |
onTransportConnected(List<TransportRecord> transports)
Called to indicate that transport connection was established
|
void |
onTransportDisconnected(String info,
TransportRecord type,
List<TransportRecord> connectedTransports)
Called to indicate that transport was disconnected (by either side)
|
void onPacketReceived(SdlPacket packet)
void onTransportConnected(List<TransportRecord> transports)
void onTransportDisconnected(String info, TransportRecord type, List<TransportRecord> connectedTransports)
void onError(String info)
boolean onLegacyModeEnabled(String info)
info - simple info string about the situation