Jitsi: the OpenSource Java VoIP and Instant Messaging client.

net.java.sip.communicator.impl.protocol.sip.net
Class ManualProxyConnection

java.lang.Object
  extended by net.java.sip.communicator.impl.protocol.sip.net.ProxyConnection
      extended by net.java.sip.communicator.impl.protocol.sip.net.ManualProxyConnection

public class ManualProxyConnection
extends ProxyConnection

Implementation of the manually configured SIP proxy connection. IP Address lookups are performed using the account's proxy address.

Author:
Ingo Bauersachs

Field Summary
 
Fields inherited from class net.java.sip.communicator.impl.protocol.sip.net.ProxyConnection
account, socketAddress, transport
 
Constructor Summary
ManualProxyConnection(SipAccountID account)
          Creates a new instance of this class.
 
Method Summary
 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.
 
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

ManualProxyConnection

public ManualProxyConnection(SipAccountID account)
Creates a new instance of this class. Uses the server from the account.

Parameters:
account - the account of this SIP protocol instance
Method Detail

getNextAddressFromDns

public boolean getNextAddressFromDns()
                              throws DnssecException
Description copied from class: ProxyConnection
Implementations must use this method to get the next address, but do not have to care about duplicate addresses.

Specified by:
getNextAddressFromDns in class ProxyConnection
Returns:
True when a further address was available.
Throws:
DnssecException - when a DNSSEC validation failure occured.

reset

public void reset()
Description copied from class: ProxyConnection
Resets the lookup to it's initial state. Overriders methods have to call this method through a super-call.

Overrides:
reset in class ProxyConnection

Jitsi: the OpenSource Java VoIP and Instant Messaging client.

Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under LGPL license.