Package net.grinder.communication

The Grinder communication subsystem.

See:
          Description

Interface Summary
Acceptor.Listener Listener interface.
Address Interface implemented by addresses.
AddressAwareMessage Message that wants to know its origin address.
BlockingSender Interface for classes that manage the sending of messages.
Message Marker interface implemented by messages.
MessageDispatchRegistry Register of message handlers, keyed by message type.
MessageDispatchRegistry.BlockingHandler<T extends Message> Handler interface.
MessageDispatchRegistry.Handler<T extends Message> Handler interface.
QueuedSender Sender that queues its messages.
Receiver Interface for classes that manage the receipt of messages.
Sender Interface for classes that manage the sending of messages.
 

Class Summary
Acceptor Active object that accepts connections on a ServerSocket.
ClientReceiver Manages receipt of messages from a server over a TCP connection.
ClientSender Class that manages the sending of messages to a server.
CommunicationDefaults Default communication constants.
ConnectionIdentity Value object that represents the identity of an accepted connection.
Connector Connection factory.
FanOutServerSender Manages the sending of messages to many TCP clients.
FanOutStreamSender Manages the sending of messages to many streams.
IgnoreShutdownSender A Sender decorator that ignores shutdown.
KeepAliveMessage No-op message used to keep a connection alive.
MessageDispatchRegistry.AbstractBlockingHandler<T extends Message> Most handlers ignore the shutdown event, so provide this as a convenient base for anonymous classes.
MessageDispatchRegistry.AbstractHandler<T extends Message> Most handlers ignore the shutdown event, so provide this as a convenient base for anonymous classes.
MessageDispatchSender Passive Senderclass that dispatches incoming messages to the appropriate handler.
MessagePump Active object that copies messages from a Receiver to a Sender.
QueuedSenderDecorator QueuedSender implementation.
ServerReceiver Manages the receipt of messages from many clients.
StreamReceiver Manages receipt of messages from a server over a stream.
StreamSender Class that manages the sending of messages to a server.
TeeSender Passive Sender class that delegates to two other Senders.
 

Enum Summary
ConnectionType Constants that are used to discriminate between different types of connections.
 

Exception Summary
Acceptor.ShutdownException Indicates the Acceptor has been shut down.
BlockingSender.NoResponseException Exception indicating that the server chose to send no response back to a BlockingSender.blockingSend(Message).
CommunicationException Exception thrown by communication package.
 

Package net.grinder.communication Description

The Grinder communication subsystem.



Copyright © 2000-2013. All Rights Reserved.