Package org.dellroad.stuff.net
package org.dellroad.stuff.net
Networking-related classes.
-
ClassDescriptionSupport superclass for
ChannelNetworkconnections.Support superclass forNetworkimplementations based onSelectableChannels.Utility methods for working with IPv4 addresses and netmasks.Abstraction layer representing a "network" over which a local "node" can communicate with remote nodes.Callback interface used byNetworkimplementations.Support superclass for clients that want to maintain a persistent connection to some server.Maintains a persistentSocketconnection to a remote server, automatically reconnecting when the connection fails.Support for managing activity based onSelectableChannelasynchronous I/O notifications.Callback interface used bySelectorSupport.Spring bean that listens for connections on a TCP socket and spawns a child thread to handle each new connection.Implemented by objects that handle individual connections accepted by aSocketAcceptor.A TCP connection to be used with aChannelNetwork.Networkimplementation based on TCP connections.