Package org.elkoserver.foundation.net

Classes for message communication over the TCP and HTTP for Elko.

See:
          Description

Interface Summary
ByteIOFramer Interface supporting message framing services.
ByteIOFramerFactory Interface supporting protocol-specific message framing on a connection, to frame inchoate streams of bytes into processable units.
Connection A communications connection to other entities on the net.
ConnectionCountMonitor Track the number of connections, so server can exit gracefully.
ConnectionManager Interface implemented by classes that support message channel connectivity via some I/O pathway (e.g., TCP/IP, etc.).
LoadMonitor Interface implemented by classes that support tracking server load.
MessageAcquirer Interface implemented by message handlers that need to preflight received messages prior to putting them on the receive queue.
MessageHandler Interface for objects that handle events on a Connection.
MessageHandlerFactory Interface to handle the application-specific portion of Connection creation.
MessageReceiver Interface for the object that a Connection uses to accept incoming messages from the net.
Releasable Interface implemented by message objects that have resources that need to be released after the message has been transmitted.
 

Class Summary
ChunkyByteArrayInputStream Input stream similar to ByteArrayInputStream but backed by an ongoing series of byte arrays that can be added to during the stream object's lifetime.
ConnectionBase Base class providing common internals implementation for various types of Connection objects.
ConnectionRetrier Worker object to manage an ongoing attempt to establish an outbound TCP connection, so that failed connection attempts can be retried automatically.
HTTPFramer An HTTPFramer is responsible for extracting messages from HTTP POSTs arriving on an HTTP connection and doing something meaningful with them.
HTTPRequest An HTTP request descriptor, obtained by parsing the lines of text in an HTTP request as they are received.
HTTPRequestByteIOFramerFactory Byte I/O framer factory for HTTP requests.
HTTPSessionConnection An implementation of Connection that virtualizes a continuous message session out of a series of transient HTTP connections.
JSONByteIOFramer I/O framer implementation for JSON messages.
JSONByteIOFramerFactory Byte I/O framer factory for JSON messaging over a byte stream.
NetAddr An IP network address and port number combination, represented in a somewhat friendlier way than InetSocketAddress does.
NetworkManager Manage network connections between this server and other entities.
NullMessageHandler "Message handler" for connections that are send only.
RTCPRequest An RTCP request descriptor, obtained by parsing the lines of text in an RTCP request as they are received.
RTCPRequestByteIOFramerFactory Byte I/O framer factory for RTCP requests.
RTCPSessionConnection An implementation of Connection that virtualizes a continuous message session out of a series of potentially transient TCP connections.
TCPConnection An implementation of Connection that manages a non-blocking TCP connection to a single remote host.
WebSocketByteIOFramerFactory Byte I/O framer factory for WebSocket connections, a perverse hybrid of HTTP and TCP.
WebSocketRequest An HTTP request descriptor, augmented for setting up a WebSocket connection.
 

Exception Summary
ConnectionCloseException Exception to report that a connection was shutdown normally (i.e., without error).
 

Package org.elkoserver.foundation.net Description

Classes for message communication over the TCP and HTTP for Elko.