org.mobicents.servlet.sip
Class SipConnector

java.lang.Object
  extended by 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

Constructor Summary
SipConnector()
           
 
Method Summary
 void closeAllSockets()
           
 boolean equals(Object obj)
           
 String getIpAddress()
           
 int getPort()
           
 String getStaticServerAddress()
           
 int getStaticServerPort()
           
 String getStunServerAddress()
           
 int getStunServerPort()
           
 String getTransport()
           
 int hashCode()
           
 boolean isUseStaticAddress()
           
 boolean isUseStun()
           
 void setIpAddress(String ipAddress)
           
 void setPort(int port)
           
 void setStaticServerAddress(String staticServerAddress)
           
 void setStaticServerPort(int staticServerPort)
           
 void setStunServerAddress(String stunServerAddress)
           
 void setStunServerPort(int stunServerPort)
           
 void setTransport(String transport)
           
 void setUseStaticAddress(boolean useStaticAddress)
           
 void setUseStun(boolean useStun)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SipConnector

public SipConnector()
Method Detail

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.