org.apache.catalina.tribes.io |
|
Java Source File Name | Type | Comment |
BufferPool.java | Class | |
BufferPool14Impl.java | Class | |
BufferPool15Impl.java | Class | |
ChannelData.java | Class | The ChannelData object is used to transfer a message through the
channel interceptor stack and eventually out on a transport to be sent
to another node. |
DirectByteArrayOutputStream.java | Class | |
ListenCallback.java | Interface | Internal interface, similar to the MessageListener but used
at the IO base
The listen callback interface is used by the replication system
when data has been received. |
ObjectReader.java | Class | The object reader object is an object used in conjunction with
java.nio TCP messages. |
ReplicationStream.java | Class | Custom subclass of ObjectInputStream that loads from the
class loader for this web application. |
XByteBuffer.java | Class | The XByteBuffer provides a dual functionality.
One, it stores message bytes and automatically extends the byte buffer if needed.
Two, it can encode and decode packages so that they can be defined and identified
as they come in on a socket.
THIS CLASS IS NOT THREAD SAFE
Transfer package:
- START_DATA/b> - 7 bytes - FLT2002
- SIZE - 4 bytes - size of the data package
- DATA - should be as many bytes as the prev SIZE
- END_DATA - 7 bytes - TLF2003
author: Filip Hanik version: $Revision: 467173 $, $Date: 2006-10-24 01:12:17 +0200 (mar., 24 oct. |