|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jivesoftware.smackx.jingle.nat.TransportResolver
org.jivesoftware.smackx.jingle.nat.BasicResolver
public class BasicResolver
Basic Resolver takes all IP addresses of the interfaces and uses the first non-loopback address. A very simple and easy to use resolver.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.jivesoftware.smackx.jingle.nat.TransportResolver |
|---|
TransportResolver.Type |
| Field Summary |
|---|
| Fields inherited from class org.jivesoftware.smackx.jingle.nat.TransportResolver |
|---|
CHECK_TIMEOUT, type |
| Constructor Summary | |
|---|---|
BasicResolver()
Constructor. |
|
| Method Summary | |
|---|---|
void |
cancel()
Cancel any asynchronous resolution operation. |
void |
initialize()
Initialize the Resolver |
void |
resolve(JingleSession session)
Resolve the IP address. |
| Methods inherited from class org.jivesoftware.smackx.jingle.nat.TransportResolver |
|---|
addListener, clear, getCandidate, getCandidateCount, getCandidates, getCandidatesList, getListenersList, getPreferredCandidate, getType, initializeAndWait, isInitialized, isResolved, isResolving, removeListener, setInitialized, setType |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BasicResolver()
| Method Detail |
|---|
public void resolve(JingleSession session)
throws XMPPException
resolve in class TransportResolverXMPPException
public void initialize()
throws XMPPException
TransportResolver
initialize in class TransportResolverXMPPException
public void cancel()
throws XMPPException
TransportResolver
cancel in class TransportResolverXMPPException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||