@ManagedObject(value="SIP connector") public abstract class AbstractSipConnector extends org.eclipse.jetty.util.component.ContainerLifeCycle implements SipConnector
| Modifier and Type | Class and Description |
|---|---|
static class |
AbstractSipConnector.MessageBuilder |
org.eclipse.jetty.util.component.AbstractLifeCycle.AbstractLifeCycleListener| Constructor and Description |
|---|
AbstractSipConnector(SipServer server,
java.util.concurrent.Executor executor,
int acceptors) |
| Modifier and Type | Method and Description |
|---|---|
protected abstract void |
accept(int id) |
protected void |
doStart() |
protected void |
doStop() |
int |
getAcceptors() |
java.util.concurrent.Executor |
getExecutor() |
java.lang.String |
getHost() |
int |
getPort() |
SipServer |
getServer() |
javax.servlet.sip.SipURI |
getURI() |
protected void |
interruptAcceptors() |
boolean |
isTransportParamForced() |
void |
join() |
void |
join(long timeout) |
void |
setHost(java.lang.String host) |
void |
setPort(int port) |
void |
setTransportParamForced(boolean forced) |
java.lang.String |
toString() |
addBean, addBean, addBean, addEventListener, contains, destroy, dump, dump, dump, dump, dump, dumpBeans, dumpObject, dumpStdErr, dumpThis, getBean, getBeans, getBeans, isManaged, manage, removeBean, removeBeans, removeEventListener, setBeans, setStopTimeout, start, stop, unmanage, updateBean, updateBeansaddLifeCycleListener, getState, getState, getStopTimeout, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, start, stopclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitclose, getAddress, getConnection, getTransport, openpublic AbstractSipConnector(SipServer server, java.util.concurrent.Executor executor, int acceptors)
public int getPort()
getPort in interface SipConnectorpublic void setPort(int port)
setPort in interface SipConnectorpublic java.lang.String getHost()
getHost in interface SipConnectorpublic void setHost(java.lang.String host)
setHost in interface SipConnectorpublic boolean isTransportParamForced()
public void setTransportParamForced(boolean forced)
public java.util.concurrent.Executor getExecutor()
public SipServer getServer()
@ManagedAttribute(value="Acceptors",
readonly=true)
public int getAcceptors()
protected void doStart()
throws java.lang.Exception
doStart in class org.eclipse.jetty.util.component.ContainerLifeCyclejava.lang.Exceptionprotected void doStop()
throws java.lang.Exception
doStop in class org.eclipse.jetty.util.component.ContainerLifeCyclejava.lang.Exceptionprotected void interruptAcceptors()
public void join()
throws java.lang.InterruptedException
java.lang.InterruptedExceptionpublic void join(long timeout)
throws java.lang.InterruptedException
java.lang.InterruptedExceptionpublic javax.servlet.sip.SipURI getURI()
getURI in interface SipConnectorpublic java.lang.String toString()
toString in class java.lang.Objectprotected abstract void accept(int id)
throws java.io.IOException
java.io.IOExceptionCopyright © 2015. All Rights Reserved.