public interface JingleTransportListener extends JingleListener
Modifier and Type | Method and Description |
---|---|
void |
transportClosed(TransportCandidate cand)
Notification that a transport must be cancelled.
|
void |
transportClosedOnError(XMPPException e)
Notification that the transport was closed due to an exception.
|
void |
transportEstablished(TransportCandidate local,
TransportCandidate remote)
Notification that the transport has been established.
|
void transportEstablished(TransportCandidate local, TransportCandidate remote) throws SmackException.NotConnectedException
local
- The transport candidate that has been used for listening
in the local machineremote
- The transport candidate that has been used for
transmitting to the remote machineSmackException.NotConnectedException
void transportClosed(TransportCandidate cand)
cand
- The transport candidate that must be cancelled. A value
of "null" means all the transports for this session.void transportClosedOnError(XMPPException e)
e
- the exception.