Package rice.pastry.wire

Contains updates to original rice.pastry.wire package, so Pastry can use either UDP or TCP, but not both.

See:
          Description

Class Summary
SocketChannelWriter Class which serves as an "writer" for all of the messages sent across the wire in Pastry.
SocketManager Class which maintains all outgoing open sockets.
TcpNodeHandle Node handle that use TCP to transmit messages.
TcpPastryNodeFactory A pastry node factory producing TcpNodeHandle, everything else is same to WirePastryNodeFactory.
UdpNodeHandle Node handle that use UDP to transmit messages.
UdpPastryNodeFactory A pastry node factory producing UdpNodeHandle, everything else is same to WirePastryNodeFactory.
WireNodeHandle Class which represents a node handle in the socket-based pastry protocol.
 

Package rice.pastry.wire Description

Contains updates to original rice.pastry.wire package, so Pastry can use either UDP or TCP, but not both. Original Pastry package try UDP first and then TCP if message too large. See the example usage by solar.service.transport.PastryTransportService. Particularly, the SocketChannelWriter is modified to have short buffer, so the write operation may block. This give us the chance to do customized queue management (PACK).