public class UdpTransport extends AbstractTransport
acceptor, DEFAULT_BACKLOG_NB, DEFAULT_NB_THREADS, LOCAL_HOST
Constructor and Description |
---|
UdpTransport()
Creates an instance of the UdpTransport class
|
UdpTransport(int udpPort)
Creates an instance of the UdpTransport class on localhost
|
UdpTransport(String address,
int udpPort)
Creates an instance of the UdpTransport class
|
Modifier and Type | Method and Description |
---|---|
org.apache.mina.transport.socket.DatagramAcceptor |
getAcceptor() |
void |
init()
Initialize the Acceptor if needed
|
String |
toString() |
enableSSL, getAddress, getBackLog, getEnableSSL, getNbThreads, getPort, isSSLEnabled, setAddress, setBackLog, setEnableSSL, setNbThreads, setPort
public UdpTransport()
public UdpTransport(int udpPort)
udpPort
- The portpublic UdpTransport(String address, int udpPort)
address
- The addressudpPort
- The portpublic void init()
public org.apache.mina.transport.socket.DatagramAcceptor getAcceptor()
public String toString()
toString
in class AbstractTransport
Object.toString()
Copyright © 2003–2020 The Apache Software Foundation. All rights reserved.