org.mitre.jsip.proxy
Class FileProxyLookup

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

public class FileProxyLookup
extends java.lang.Object
implements ProxyLookup


Constructor Summary
FileProxyLookup(java.lang.String domainName, java.lang.String hostName)
          Initialize with local proxy host
 
Method Summary
 SipUri getConnectionUri(java.lang.String host)
          Return a proxy server for a particular host ( or domain )
 SipUri getProxyUri()
          Return the local proxy server
static void main(java.lang.String[] argc)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileProxyLookup

public FileProxyLookup(java.lang.String domainName,
                       java.lang.String hostName)
Initialize with local proxy host
Method Detail

getProxyUri

public SipUri getProxyUri()
                   throws SipProxyException
Return the local proxy server
Specified by:
getProxyUri in interface ProxyLookup

getConnectionUri

public SipUri getConnectionUri(java.lang.String host)
                        throws SipProxyException
Return a proxy server for a particular host ( or domain )
Specified by:
getConnectionUri in interface ProxyLookup

main

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