|
Jitsi: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.java.sip.communicator.impl.protocol.sip.net.ProxyConnection
net.java.sip.communicator.impl.protocol.sip.net.AutoProxyConnection
public class AutoProxyConnection
Implementation of the autodetect proxy connection. Tries to resolve a SIP- server by querying DNS in this order: NAPTR-SRV-A; SRV-A; A.
| Nested Class Summary | |
|---|---|
protected static class |
AutoProxyConnection.LocalNetworkUtils
Wrapper around NetworkUtils to support Unit Tests. |
| Field Summary |
|---|
| Fields inherited from class net.java.sip.communicator.impl.protocol.sip.net.ProxyConnection |
|---|
account, socketAddress, transport |
| Constructor Summary | |
|---|---|
AutoProxyConnection(SipAccountID account,
String defaultTransport)
Creates a new instance of this class. |
|
AutoProxyConnection(SipAccountID account,
String address,
String defaultTransport)
Creates a new instance of this class. |
|
| Method Summary | |
|---|---|
protected boolean |
getNextAddressFromDns()
Implementations must use this method to get the next address, but do not have to care about duplicate addresses. |
void |
reset()
Resets the lookup to it's initial state. |
protected void |
setNetworkUtils(AutoProxyConnection.LocalNetworkUtils nu)
Sets the NetworkUtils wrapper. |
| Methods inherited from class net.java.sip.communicator.impl.protocol.sip.net.ProxyConnection |
|---|
create, getAddress, getNextAddress, getOutboundProxyString, getTransport, isSameInetAddress |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AutoProxyConnection(SipAccountID account,
String defaultTransport)
account - the account of this SIP protocol instancedefaultTransport - the default transport to use when DNS does not
provide a protocol through NAPTR or SRV
public AutoProxyConnection(SipAccountID account,
String address,
String defaultTransport)
account - the account of this SIP protocol instanceaddress - the domain on which to perform autodetectiondefaultTransport - the default transport to use when DNS does not
provide a protocol through NAPTR or SRV| Method Detail |
|---|
protected void setNetworkUtils(AutoProxyConnection.LocalNetworkUtils nu)
nu - the the NetworkUtils wrapper.
protected boolean getNextAddressFromDns()
throws DnssecException
ProxyConnection
getNextAddressFromDns in class ProxyConnectionDnssecException - when a DNSSEC validation failure occured.public void reset()
ProxyConnection
reset in class ProxyConnection
|
Jitsi: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||