Package org.apache.commons.net
Common socket classes and protocol command utility classes
-
Interface Summary Interface Description DatagramSocketFactory The DatagramSocketFactory interface provides a means for the programmer to control the creation of datagram sockets and provide his own DatagramSocket implementations for use by all classes derived fromDatagramSocketClient
.ProtocolCommandListener There exists a large class of IETF protocols that work by sending an ASCII text command and arguments to a server, and then receiving an ASCII text reply. -
Class Summary Class Description DatagramSocketClient The DatagramSocketClient provides the basic operations that are required of client objects accessing datagram sockets.DefaultDatagramSocketFactory DefaultDatagramSocketFactory implements the DatagramSocketFactory interface by simply wrapping the java.net.DatagramSocket constructors.DefaultSocketFactory DefaultSocketFactory implements the SocketFactory interface by simply wrapping the java.net.Socket and java.net.ServerSocket constructors.PrintCommandListener This is a support class for some of the example programs.ProtocolCommandEvent There exists a large class of IETF protocols that work by sending an ASCII text command and arguments to a server, and then receiving an ASCII text reply.ProtocolCommandSupport ProtocolCommandSupport is a convenience class for managing a list of ProtocolCommandListeners and firing ProtocolCommandEvents.SocketClient The SocketClient provides the basic operations that are required of client objects accessing sockets. -
Exception Summary Exception Description MalformedServerReplyException This exception is used to indicate that the reply from a server could not be interpreted.