public class UdpConnector extends AbstractSipConnector
| Modifier and Type | Class and Description |
|---|---|
class |
UdpConnector.UdpConnection |
AbstractSipConnector.MessageBuilderorg.eclipse.jetty.util.component.AbstractLifeCycle.AbstractLifeCycleListener| Modifier and Type | Field and Description |
|---|---|
static int |
DEFAULT_MTU |
static int |
MAX_UDP_SIZE |
| Constructor and Description |
|---|
UdpConnector(SipServer server) |
UdpConnector(SipServer server,
java.util.concurrent.Executor executor,
int acceptors) |
UdpConnector(SipServer server,
int acceptors) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
accept(int id) |
void |
close() |
protected void |
doStart() |
java.net.InetAddress |
getAddress() |
SipConnection |
getConnection(java.net.InetAddress address,
int port) |
int |
getMtu() |
Transport |
getTransport() |
static void |
main(java.lang.String[] args) |
void |
open() |
void |
setMtu(int mtu) |
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 MAX_UDP_SIZE
public static final int DEFAULT_MTU
public UdpConnector(@Name(value="sipServer")
SipServer server)
public UdpConnector(@Name(value="sipServer")
SipServer server,
@Name(value="acceptors")
int acceptors)
public UdpConnector(@Name(value="sipServer")
SipServer server,
@Name(value="executor")
java.util.concurrent.Executor executor,
@Name(value="acceptors")
int acceptors)
public int getMtu()
public void setMtu(int mtu)
public Transport getTransport()
protected void doStart()
throws java.lang.Exception
doStart in class AbstractSipConnectorjava.lang.Exceptionpublic void open()
throws java.io.IOException
java.io.IOExceptionpublic void close()
throws java.io.IOException
java.io.IOExceptionpublic java.net.InetAddress getAddress()
protected void accept(int id)
throws java.io.IOException
accept in class AbstractSipConnectorjava.io.IOExceptionpublic SipConnection getConnection(java.net.InetAddress address, int port)
public static void main(java.lang.String[] args)
throws java.lang.Exception
java.lang.ExceptionCopyright © 2015. All Rights Reserved.