Package convex.net

Class MessageReceiver

java.lang.Object
convex.net.MessageReceiver

public class MessageReceiver extends Object
Class responsible for buffered accumulation of data received over a connection. ByteBuffers received must be passed in via @receiveFromChannel Passes any successfully received objects to a specified Consumer, using the same thread on which the MessageReceiver was called.

"There are only two hard problems in distributed systems: 2. Exactly-once delivery 1. Guaranteed order of messages 2. Exactly-once delivery"

- attributed to Mathias Verraes