Package org.apache.commons.net
package org.apache.commons.net
Common socket classes and protocol command utility classes
-
ClassDescriptionThe DatagramSocketClient provides the basic operations that are required of client objects accessing datagram sockets.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 from
DatagramSocketClient
.Implements the DatagramSocketFactory interface by simply wrapping theDatagramSocket
constructors.DefaultSocketFactory implements the SocketFactory interface by simply wrapping the java.net.Socket and java.net.ServerSocket constructors.This exception is used to indicate that the reply from a server could not be interpreted.This is a support class for some example programs.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.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 is a convenience class for managing a list of ProtocolCommandListeners and firing ProtocolCommandEvents.The SocketClient provides the basic operations that are required of client objects accessing sockets.