Package convex.net

Class Connection

java.lang.Object
convex.net.Connection

public class Connection extends Object

Class representing the low-level NIO network Connection between network participants.

Sent messages are sent asynchronously via the shared client selector.

Received messages are read by the shared client selector, converted into Message instances, and passed to a Consumer for handling.

A Connection "owns" the ByteChannel associated with this Peer connection