Called when some data is received.
Calls when the other end signals it won’t send any more data (for example by calling $(D_PSYMBOL writeEof()), if the other end also uses asynchronous IO).
Called when a connection is made.
Called when the connection is lost or closed.
Called when the transport’s buffer goes over the high-water mark.
Called when the transport’s buffer drains below the low-water mark.
Interface for stream protocol.