org.mobicents.servlet.sip
Class SipConnector
java.lang.Object
org.mobicents.servlet.sip.SipConnector
- All Implemented Interfaces:
- Serializable
public class SipConnector
- extends Object
- implements Serializable
Represents a Mobicents Sip Servlets SIP connector and its various attributes
- Author:
- jean.deruelle@gmail.com
- See Also:
- Serialized Form
SipConnector
public SipConnector()
getTransport
public String getTransport()
- Returns:
- the Transport
setTransport
public void setTransport(String transport)
- Parameters:
transport - the transport to set
getPort
public int getPort()
- Returns:
- the port
setPort
public void setPort(int port)
- Parameters:
port - the port to set
- Throws:
Exception
setIpAddress
public void setIpAddress(String ipAddress)
getIpAddress
public String getIpAddress()
getStunServerAddress
public String getStunServerAddress()
- Returns:
- the stunServerAddress
setStunServerAddress
public void setStunServerAddress(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 String getStaticServerAddress()
setStaticServerAddress
public void setStaticServerAddress(String staticServerAddress)
getStaticServerPort
public int getStaticServerPort()
setStaticServerPort
public void setStaticServerPort(int staticServerPort)
isUseStaticAddress
public boolean isUseStaticAddress()
setUseStaticAddress
public void setUseStaticAddress(boolean useStaticAddress)
closeAllSockets
public void closeAllSockets()
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
equals
public boolean equals(Object obj)
- Overrides:
equals in class Object
toString
public String toString()
- Overrides:
toString in class Object
Copyright © 2011. All Rights Reserved.