StreamReaderProtocol

Helper class to adapt between $(D_PSYMBOL Protocol) and $(D_PSYMBOL StreamReader).

(This is a helper class instead of making StreamReader itself a $(D_PSYMBOL Protocol) subclass, because the StreamReader has other potential uses, and to prevent the user of the StreamReader to accidentally call inappropriate methods of the protocol.)

Constructors

this
this(EventLoop eventLoop, StreamReader streamReader, ClientConnectedCallback clientConnectedCallback)
Undocumented in source.

Members

Functions

connectionLost
void connectionLost(Exception exception)
Undocumented in source. Be warned that the author may not have intended to support it.
connectionMade
void connectionMade(BaseTransport transport)
Undocumented in source. Be warned that the author may not have intended to support it.
dataReceived
void dataReceived(const(void)[] data)
Undocumented in source. Be warned that the author may not have intended to support it.
eofReceived
bool eofReceived()
Undocumented in source. Be warned that the author may not have intended to support it.

Inherited Members

From FlowControlProtocol

pauseWriting
void pauseWriting()
Undocumented in source.
resumeWriting
void resumeWriting()
Undocumented in source.
connectionMade
void connectionMade(BaseTransport transport)
Undocumented in source. Be warned that the author may not have intended to support it.
connectionLost
void connectionLost(Exception exception)
Undocumented in source. Be warned that the author may not have intended to support it.
drainHelper
void drainHelper()
Undocumented in source. Be warned that the author may not have intended to support it.
dataReceived
void dataReceived(const(void)[] data)
Undocumented in source. Be warned that the author may not have intended to support it.
eofReceived
bool eofReceived()
Undocumented in source. Be warned that the author may not have intended to support it.

Meta