public class ICEResolver extends TransportResolver
TransportResolver.Type
candidates, CHECK_TIMEOUT, type
Constructor and Description |
---|
ICEResolver(XMPPConnection connection,
String server,
int port) |
Modifier and Type | Method and Description |
---|---|
void |
cancel()
Cancel any asynchronous resolution operation.
|
void |
initialize()
Initialize the Resolver.
|
void |
resolve(JingleSession session)
Resolve the IP and obtain a valid transport method.
|
addCandidate, addListener, clear, clearCandidates, getCandidate, getCandidateCount, getCandidates, getCandidatesList, getFreePort, getListenersList, getPreferredCandidate, getType, initializeAndWait, isInitialized, isResolved, isResolving, removeListener, setInitialized, setResolveEnd, setResolveInit, setType, triggerCandidateAdded
public ICEResolver(XMPPConnection connection, String server, int port)
public void initialize() throws XMPPException
TransportResolver
initialize
in class TransportResolver
XMPPException
public void cancel() throws XMPPException
TransportResolver
cancel
in class TransportResolver
XMPPException
public void resolve(JingleSession session) throws XMPPException, SmackException, InterruptedException
resolve
in class TransportResolver
SmackException
InterruptedException
XMPPException