|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.directory.server.protocol.shared.transport.AbstractTransport
org.apache.directory.server.protocol.shared.transport.UdpTransport
public class UdpTransport
Field Summary |
---|
Fields inherited from class org.apache.directory.server.protocol.shared.transport.AbstractTransport |
---|
acceptor, DEFAULT_BACKLOG_NB, DEFAULT_NB_THREADS, LOCAL_HOST |
Constructor Summary | |
---|---|
UdpTransport()
Creates an instance of the UdpTransport class |
|
UdpTransport(int udpPort)
Creates an instance of the UdpTransport class on localhost |
|
UdpTransport(java.lang.String address,
int udpPort)
Creates an instance of the UdpTransport class |
Method Summary | |
---|---|
org.apache.mina.transport.socket.DatagramAcceptor |
getAcceptor()
|
void |
init()
Initialize the Acceptor if needed |
java.lang.String |
toString()
|
Methods inherited from class org.apache.directory.server.protocol.shared.transport.AbstractTransport |
---|
enableSSL, getAddress, getBackLog, getEnableSSL, getNbThreads, getPort, isSSLEnabled, setAddress, setBackLog, setEnableSSL, setNbThreads, setPort |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public UdpTransport()
public UdpTransport(int udpPort)
udpPort
- The portpublic UdpTransport(java.lang.String address, int udpPort)
address
- The addressudpPort
- The portMethod Detail |
---|
public void init()
init
in interface Transport
init
in class AbstractTransport
public org.apache.mina.transport.socket.DatagramAcceptor getAcceptor()
AbstractTransport
getAcceptor
in interface Transport
getAcceptor
in class AbstractTransport
public java.lang.String toString()
toString
in class AbstractTransport
Object.toString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |