org.mobicents.servlet.sip
Class SipConnector
java.lang.Object
org.mobicents.servlet.sip.SipConnector
- All Implemented Interfaces:
- java.io.Serializable
public class SipConnector
- extends java.lang.Object
- implements java.io.Serializable
Represents a Mobicents Sip Servlets SIP connector and its various attributes
- Author:
- jean.deruelle@gmail.com
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
SipConnector
public SipConnector()
getTransport
public java.lang.String getTransport()
- Returns:
- the Transport
setTransport
public void setTransport(java.lang.String transport)
throws java.lang.Exception
- Parameters:
transport - the transport to set
- Throws:
java.lang.Exception
getPort
public int getPort()
- Returns:
- the port
setPort
public void setPort(int port)
- Parameters:
port - the port to set
- Throws:
java.lang.Exception
setIpAddress
public void setIpAddress(java.lang.String ipAddress)
getIpAddress
public java.lang.String getIpAddress()
getStunServerAddress
public java.lang.String getStunServerAddress()
- Returns:
- the stunServerAddress
setStunServerAddress
public void setStunServerAddress(java.lang.String stunServerAddress)
- Parameters:
stunServerAddress - the stunServerAddress to set
getStunServerPort
public int getStunServerPort()
- Returns:
- the stunServerPort
setStunServerPort
public void setStunServerPort(int stunServerPort)
- Parameters:
stunServerPort - the stunServerPort to set
isUseStun
public boolean isUseStun()
- Returns:
- the useStun
setUseStun
public void setUseStun(boolean useStun)
- Parameters:
useStun - the useStun to set
getStaticServerAddress
public java.lang.String getStaticServerAddress()
setStaticServerAddress
public void setStaticServerAddress(java.lang.String staticServerAddress)
getStaticServerPort
public int getStaticServerPort()
setStaticServerPort
public void setStaticServerPort(int staticServerPort)
isUseStaticAddress
public boolean isUseStaticAddress()
setUseStaticAddress
public void setUseStaticAddress(boolean useStaticAddress)
setSipStackPropertiesFileLocation
public void setSipStackPropertiesFileLocation(java.lang.String sipStackPropertiesFile)
- Parameters:
sipStackPropertiesFile - the sipStackPropertiesFile to set
getSipStackPropertiesFileLocation
public java.lang.String getSipStackPropertiesFileLocation()
- Returns:
- the sipStackPropertiesFile
hashCode
public int hashCode()
- Overrides:
hashCode in class java.lang.Object
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals in class java.lang.Object
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
Copyright © 2009. All Rights Reserved.