Class n.t.TestProtocolLineReceiverServer(LineReceiver):

Part of nevow.testutil View Source View In Hierarchy

Subunit protocol which is also a Twisted LineReceiver so that it includes line buffering logic.

Split Table into Classes Show Methods in One Table

Line # Kind Name Docs
310 Method __init__ Undocumented
314 Method lineReceived Forward the line on to the subunit protocol's lineReceived method,

Inherited from LineReceiver:

Line # Kind Name Docs
208 Method clearLineBuffer Clear buffered data.
212 Method dataReceived Protocol.dataReceived.
242 Method setLineMode Sets the line-mode of this receiver.
257 Method setRawMode Sets the raw mode of this receiver.
264 Method rawDataReceived Override this for when raw data is received.
274 Method sendLine Sends a line to the other end of the connection.
279 Method lineLengthExceeded Called when the maximum line length has been reached.

Inherited from Protocol (via LineReceiver):

Line # Kind Name Docs
368 Method connectionLost Called when the connection is shut down.
Line # Kind Name Docs
310 Method __init__ Undocumented
208 Method clearLineBuffer Clear buffered data.
368 Method connectionLost Called when the connection is shut down.
212 Method dataReceived Protocol.dataReceived.
279 Method lineLengthExceeded Called when the maximum line length has been reached.
314 Method lineReceived Forward the line on to the subunit protocol's lineReceived method,
264 Method rawDataReceived Override this for when raw data is received.
274 Method sendLine Sends a line to the other end of the connection.
242 Method setLineMode Sets the line-mode of this receiver.
257 Method setRawMode Sets the raw mode of this receiver.
def __init__(self, proto): (source)
Undocumented
def lineReceived(self, line): (source)
Forward the line on to the subunit protocol's lineReceived method, which expects it to be newline terminated.
API Documentation for Nevow, generated by pydoctor.