Package org.objectweb.dream.channel

Channel components are used to exchange messages between different address spaces.

See:
          Description

Interface Summary
AddIPChannelAttributeController Attribute controller interface for AddIPChannel components.
ChannelOutAttributeController ChannelOut attribute controller.
IPChannelDestinationChunk Chunk interface used to identify the IP channel a message is destinated.
IPChannelSourceChunk Chunk interface used to identify the IP channel that send the message.
IPSocketManager Interface used by ChannelOut to retreive a socket to send a message to an IPChannelIn identified by its InetAddressand its port.
IPSocketManagerCachingAttributeController Attribute controller interface for socket cache.
IPSocketManagerTCPAttributeController Attribute controller for components providing an IPSocketManager interface, using TCP/IP connection.
OpenedSocket Interface used by Push ChannelIn components to exchange open socket.
OpenedSocketManagerMultiAttributeController Attribute controller for multi threaded opened socket manager.
SendByte Interface provided by component that can be used to send a byte over a socket.
SocketManager Interface used by ChannelOut to retreive a socket to send a message to a ChannelIn.
SocketManagerIPChunkBasedAttributeController Attribute controller for SocketManagerimplementation that use a chunk to identify a ChannelOut and retreive an associated socket.
SocketManagerIPStaticAttributeController Attribute controller for socket managers that only manage one opened socket.
SocketState Interface used by ChannelOut to identify a ChannelIn and to send it message.
TCPAcceptSocketAttributeController Attribute controller for IP Accept Socket, It defines the listening port.
WaitByte Interface provided by component that can be used to wait for a byte over a socket.
 

Class Summary
AbstractAcceptSocketImpl Abstract Accept socket component.
AddIPChannelDestinationChunkImpl This message transformer adds a IPChannelDestinationChunkcontaining the inet address and the listenning port of a channel.
AddIPChannelSourceChunkImpl This message transformer adds a IPChannelSourceChunkcontaining the inet address and the listenning port of a channel.
GenericPushChannelInImpl Generic push ChannelIn implementation.
GenericPushChannelOutImpl Generic Push ChannelOut.
IPChannelDestinationChunkImpl Basic Implementation of IPChannelDestinationChunk
IPChannelSourceChunkImpl Basic Implementation of IPChannelSourceChunk
IPSocketManagerCachingImpl This component manage a cache of SocketState.
IPSocketManagerTCPImpl IPSocketManagerthat handles one TCP connection at a time.
OpenedSocketManagerMonoNotPersistentImpl A opened socket manager for mono connection Channel.
OpenedSocketManagerMonoPersistentImpl A opened socket manager for persistent mono connection Channel.
OpenedSocketManagerMultiPersistentImpl Opened socket manager component that lanage multiple opened sockets at a time.
SendByteStreamImpl Write a byte from the given output used as OutputStream.
SocketManagerIPChunkBasedImpl Socket manager that retrieves sockets using an IPSocketManagerand getting IP and port in a IPChannelDestinationChunkin messages.
SocketManagerIPStaticImpl Socket manager managing only one open socket at a time.
SocketStateImpl Basic implementation of SocketState.
TCPAcceptSocketImpl Wraps TCP ServerSocket.
WaitByteStreamImpl Read a byte from the given input used as InputStream.
 

Package org.objectweb.dream.channel Description

Channel components are used to exchange messages between different address spaces.

We distinguish two Channel components : ChannelIn and ChannelOut.

This package contains various Channel implementations. They are based on a socket abstraction. A socket provides an input, an output, and a method to close it (see SocketState interface).

Channel components use the MessageCodec interface to encode and decode messages using the socket's input or output.

Channel components are composite components build as follows:

TODO insert pictures

PushChannelOut components are made of:

PushChannelIn are made of:

The Dream library currently provides the following TCPPushChannelOut components:

These ChannelOut can be used with an acknoledgment component by replacing TCPPushChannelOut with TCPPushChannelOutAck.

The Dream library currently provides the following TCPPushChannelIn:

These ChannelIn can be used with an acknoledgment component by replacing TCPPushChannelIn with TCPPushChannelInAck.



Copyright © 2003, 2004 - INRIA Rhone-Alpes - All Rights Reserved.