public static final class TransportNegotiator.RawUdp extends TransportNegotiator
TransportNegotiator.Ice, TransportNegotiator.RawUdp
CANDIDATES_ACCEPT_PERIOD
session
Constructor and Description |
---|
TransportNegotiator.RawUdp(JingleSession js,
TransportResolver res,
ContentNegotiator parentNegotiator)
Default constructor, with a JingleSession and transport manager.
|
Modifier and Type | Method and Description |
---|---|
boolean |
acceptableTransportCandidate(TransportCandidate tc,
List<TransportCandidate> localCandidates)
Return true for fixed candidates.
|
TransportCandidate |
getBestRemoteCandidate()
Obtain the best common transport candidate obtained in the
negotiation.
|
JingleTransport |
getJingleTransport(TransportCandidate bestRemote)
Get a TransportNegotiator instance.
|
close, dispatchIncomingPacket, doStart, getAcceptedLocalCandidate, getBestLocalCandidate, getJingleTransport, getOfferedCandidates, getValidRemoteCandidates, isFullyEstablished
addExpectedId, addListener, getConnection, getListenersList, getNegotiatorState, getSession, isExpectedId, isStarted, removeExpectedId, removeListener, setNegotiatorState, setSession, start
public TransportNegotiator.RawUdp(JingleSession js, TransportResolver res, ContentNegotiator parentNegotiator)
js
- The Jingle session this negotiation belongs to.res
- The transport resolver to use.public JingleTransport getJingleTransport(TransportCandidate bestRemote)
getJingleTransport
in class TransportNegotiator
public TransportCandidate getBestRemoteCandidate()
getBestRemoteCandidate
in class TransportNegotiator
public boolean acceptableTransportCandidate(TransportCandidate tc, List<TransportCandidate> localCandidates)
acceptableTransportCandidate
in class TransportNegotiator