org.apache.directory.server.protocol.shared.transport
Class UdpTransport
java.lang.Object
org.apache.directory.server.protocol.shared.transport.AbstractTransport
org.apache.directory.server.protocol.shared.transport.UdpTransport
- All Implemented Interfaces:
- Transport
public class UdpTransport
- extends AbstractTransport
- Author:
- Apache Directory Project
|
Constructor Summary |
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 |
| Methods inherited from class org.apache.directory.server.protocol.shared.transport.AbstractTransport |
enableSSL, getAddress, getBackLog, getEnableSSL, getNbThreads, getPort, isSSLEnabled, setAddress, setBackLog, setEnableSSL, setNbThreads, setPort |
UdpTransport
public UdpTransport()
- Creates an instance of the UdpTransport class
UdpTransport
public UdpTransport(int udpPort)
- Creates an instance of the UdpTransport class on localhost
- Parameters:
udpPort - The port
UdpTransport
public UdpTransport(String address,
int udpPort)
- Creates an instance of the UdpTransport class
- Parameters:
address - The addressudpPort - The port
init
public void init()
- Initialize the Acceptor if needed
- Specified by:
init in interface Transport- Specified by:
init in class AbstractTransport
getAcceptor
public org.apache.mina.transport.socket.DatagramAcceptor getAcceptor()
- Description copied from class:
AbstractTransport
-
- Specified by:
getAcceptor in interface Transport- Specified by:
getAcceptor in class AbstractTransport
- Returns:
- The associated DatagramAcceptor
toString
public String toString()
- Overrides:
toString in class AbstractTransport
- See Also:
Object.toString()
Copyright © 2003-2011 The Apache Software Foundation. All Rights Reserved.