@Deprecated public class TcpConnector extends AbstractSipConnector
| Modifier and Type | Class and Description |
|---|---|
static class |
TcpConnector.MessageBuilder
Deprecated.
|
org.eclipse.jetty.util.component.AbstractLifeCycle.AbstractLifeCycleListener| Modifier and Type | Field and Description |
|---|---|
static int |
DEFAULT_SO_TIMEOUT
Deprecated.
|
static int |
MINIMAL_BUFFER_LENGTH
Deprecated.
|
| Constructor and Description |
|---|
TcpConnector(SipServer server)
Deprecated.
|
TcpConnector(SipServer server,
java.util.concurrent.Executor executor,
int acceptors)
Deprecated.
|
TcpConnector(SipServer server,
int acceptors)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
accept(int id)
Deprecated.
|
protected void |
addConnection(org.cipango.server.nio.TcpConnector.TcpConnection connection)
Deprecated.
|
void |
close()
Deprecated.
|
protected void |
doStart()
Deprecated.
|
java.net.InetAddress |
getAddress()
Deprecated.
|
protected java.nio.channels.ServerSocketChannel |
getChannel()
Deprecated.
|
SipConnection |
getConnection(java.net.InetAddress address,
int port)
Deprecated.
|
int |
getConnectionTimeout()
Deprecated.
|
Transport |
getTransport()
Deprecated.
|
static void |
main(java.lang.String[] args)
Deprecated.
|
void |
open()
Deprecated.
|
protected void |
removeConnection(org.cipango.server.nio.TcpConnector.TcpConnection connection)
Deprecated.
|
void |
setConnectionTimeout(int connectionTimeout)
Deprecated.
|
doStop, getAcceptors, getExecutor, getHost, getPort, getServer, getURI, interruptAcceptors, isTransportParamForced, join, join, setHost, setPort, setTransportParamForced, toStringaddBean, 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, stoppublic static final int MINIMAL_BUFFER_LENGTH
public static final int DEFAULT_SO_TIMEOUT
public TcpConnector(@Name(value="sipServer")
SipServer server)
public TcpConnector(@Name(value="sipServer")
SipServer server,
@Name(value="acceptors")
int acceptors)
public TcpConnector(@Name(value="sipServer")
SipServer server,
@Name(value="executor")
java.util.concurrent.Executor executor,
@Name(value="acceptors")
int acceptors)
protected void doStart()
throws java.lang.Exception
doStart in class AbstractSipConnectorjava.lang.Exceptionpublic Transport getTransport()
public void open()
throws java.io.IOException
java.io.IOExceptionpublic void close()
throws java.io.IOException
java.io.IOExceptionprotected void accept(int id)
throws java.io.IOException
accept in class AbstractSipConnectorjava.io.IOExceptionprotected java.nio.channels.ServerSocketChannel getChannel()
public int getConnectionTimeout()
public void setConnectionTimeout(int connectionTimeout)
public SipConnection getConnection(java.net.InetAddress address, int port) throws java.io.IOException
java.io.IOExceptionpublic java.net.InetAddress getAddress()
protected void addConnection(org.cipango.server.nio.TcpConnector.TcpConnection connection)
protected void removeConnection(org.cipango.server.nio.TcpConnector.TcpConnection connection)
public static void main(java.lang.String[] args)
throws java.lang.Exception
java.lang.ExceptionCopyright © 2015. All Rights Reserved.