org.mobicents.slee.services.sip.proxy.mbean
Class ProxyConfigurator

java.lang.Object
  extended by org.mobicents.slee.services.sip.proxy.mbean.ProxyConfigurator
All Implemented Interfaces:
java.lang.Cloneable, org.mobicents.slee.services.sip.common.ProxyConfiguration, ProxyConfiguratorMBean

public class ProxyConfigurator
extends java.lang.Object
implements ProxyConfiguratorMBean, java.lang.Cloneable


Field Summary
 
Fields inherited from interface org.mobicents.slee.services.sip.common.ProxyConfiguration
MBEAN_NAME_PREFIX
 
Constructor Summary
ProxyConfigurator()
           
 
Method Summary
 void addLocalDomain(java.lang.String localDomainToAdd)
          Adds local domain - domain which after addition is considered to be served by this proxy.
 void addMustPassThrough(int pos, java.lang.String host)
          Currently commented out code.
 void addSupportedURIScheme(java.lang.String schemeToAdd)
          If proxy supports more than sips and sip uri schemes this is the method to add them.
 java.lang.Object clone()
           
 java.lang.String[] getLocalDomainNames()
           
 java.lang.String getName()
           
 java.lang.String[] getPassThroughList()
           
 java.lang.String getSipHostname()
           
 java.lang.String getSipHostName()
           
 int getSipPort()
           
 java.lang.String[] getSipTransports()
           
 java.lang.String[] getSupportedURISchemes()
           
 void removeLocalDomain(java.lang.String localDomainToRemove)
          Removes domain from local set.
 void removeMustPassThrough(int pos)
           
 void removeMustPassThrough(java.lang.String host)
           
 void removeSupportedURIScheme(java.lang.String schemeToRemove)
          This method removes uri scheme from allowed set
 void setName(java.lang.String name)
           
 void setSipHostName(java.lang.String sipHostName)
          Sets this sip host name, in case of multiple interfaces and names its mandatory.
 void setSipPort(int port)
          Sets port on which proxy should work
 void setSipTransports(java.lang.String[] transports)
          Sets set of allowed transports
 boolean startService()
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProxyConfigurator

public ProxyConfigurator()
Method Detail

addLocalDomain

public void addLocalDomain(java.lang.String localDomainToAdd)
Description copied from interface: ProxyConfiguratorMBean
Adds local domain - domain which after addition is considered to be served by this proxy. After add operation proxy resolves all contacts localy, allow to register.

Specified by:
addLocalDomain in interface ProxyConfiguratorMBean

addMustPassThrough

public void addMustPassThrough(int pos,
                               java.lang.String host)
Description copied from interface: ProxyConfiguratorMBean
Currently commented out code. Adds host through which messages must pass through after leaving this proxy

Specified by:
addMustPassThrough in interface ProxyConfiguratorMBean

addSupportedURIScheme

public void addSupportedURIScheme(java.lang.String schemeToAdd)
Description copied from interface: ProxyConfiguratorMBean
If proxy supports more than sips and sip uri schemes this is the method to add them.

Specified by:
addSupportedURIScheme in interface ProxyConfiguratorMBean

getSipHostName

public java.lang.String getSipHostName()

removeLocalDomain

public void removeLocalDomain(java.lang.String localDomainToRemove)
Description copied from interface: ProxyConfiguratorMBean
Removes domain from local set.

Specified by:
removeLocalDomain in interface ProxyConfiguratorMBean

removeMustPassThrough

public void removeMustPassThrough(int pos)
Specified by:
removeMustPassThrough in interface ProxyConfiguratorMBean

removeMustPassThrough

public void removeMustPassThrough(java.lang.String host)
Specified by:
removeMustPassThrough in interface ProxyConfiguratorMBean

removeSupportedURIScheme

public void removeSupportedURIScheme(java.lang.String schemeToRemove)
Description copied from interface: ProxyConfiguratorMBean
This method removes uri scheme from allowed set

Specified by:
removeSupportedURIScheme in interface ProxyConfiguratorMBean

setSipHostName

public void setSipHostName(java.lang.String sipHostName)
Description copied from interface: ProxyConfiguratorMBean
Sets this sip host name, in case of multiple interfaces and names its mandatory.

Specified by:
setSipHostName in interface ProxyConfiguratorMBean

setSipPort

public void setSipPort(int port)
Description copied from interface: ProxyConfiguratorMBean
Sets port on which proxy should work

Specified by:
setSipPort in interface ProxyConfiguratorMBean

setSipTransports

public void setSipTransports(java.lang.String[] transports)
Description copied from interface: ProxyConfiguratorMBean
Sets set of allowed transports

Specified by:
setSipTransports in interface ProxyConfiguratorMBean

getLocalDomainNames

public java.lang.String[] getLocalDomainNames()
Specified by:
getLocalDomainNames in interface org.mobicents.slee.services.sip.common.ProxyConfiguration

getPassThroughList

public java.lang.String[] getPassThroughList()

getSipHostname

public java.lang.String getSipHostname()
Specified by:
getSipHostname in interface org.mobicents.slee.services.sip.common.ProxyConfiguration

getSipPort

public int getSipPort()
Specified by:
getSipPort in interface org.mobicents.slee.services.sip.common.ProxyConfiguration

getSipTransports

public java.lang.String[] getSipTransports()
Specified by:
getSipTransports in interface org.mobicents.slee.services.sip.common.ProxyConfiguration

getSupportedURISchemes

public java.lang.String[] getSupportedURISchemes()
Specified by:
getSupportedURISchemes in interface org.mobicents.slee.services.sip.common.ProxyConfiguration

startService

public boolean startService()

getName

public java.lang.String getName()

setName

public void setName(java.lang.String name)

clone

public java.lang.Object clone()
Specified by:
clone in interface ProxyConfiguratorMBean
Overrides:
clone in class java.lang.Object


Copyright © 2008. All Rights Reserved.