org.mitre.jsip.proxy
Class DNSProxyLookup

java.lang.Object
  |
  +--org.mitre.jsip.proxy.DNSProxyLookup
All Implemented Interfaces:
ProxyLookup

public class DNSProxyLookup
extends java.lang.Object
implements ProxyLookup


Method Summary
 SipUri getConnectionUri(java.lang.String host)
          For initial connections, determine whether the host portion of a SIP URI is either a domain or a full hostname, then try to figure out the proxy for that particular host
 SipUri getProxyUri()
          Return the local proxy URI
static void main(java.lang.String[] argc)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getProxyUri

public SipUri getProxyUri()
                   throws SipProxyException
Description copied from interface: ProxyLookup
Return the local proxy URI
Specified by:
getProxyUri in interface ProxyLookup

getConnectionUri

public SipUri getConnectionUri(java.lang.String host)
                        throws SipProxyException
Description copied from interface: ProxyLookup
For initial connections, determine whether the host portion of a SIP URI is either a domain or a full hostname, then try to figure out the proxy for that particular host
Specified by:
getConnectionUri in interface ProxyLookup

main

public static void main(java.lang.String[] argc)