class twisted.protocols.ident.IdentClient(basic.LineOnlyReceiver): (source)
Undocumented
Class Variable | errorTypes | Undocumented |
Method | __init__ | Undocumented |
Instance Variable | queries | Undocumented |
Method | lookup | Lookup user information about the specified address pair. |
Method | lineReceived | Override this for when each line is received. |
Method | connectionLost | Called when the connection is shut down. |
Method | parseResponse | Undocumented |
Inherited from LineOnlyReceiver:
Class Variable | delimiter | The line-ending delimiter to use. By default this is b'\r\n' . |
Class Variable | MAX_LENGTH | The maximum length of a line to allow (If a sent line is longer than this, the connection is dropped). Default is 16384. |
Method | dataReceived | Translates bytes into lines, and calls lineReceived. |
Method | sendLine | Sends a line to the other end of the connection. |
Method | lineLengthExceeded | Called when the maximum line length has been reached. Override if it needs to be dealt with in some special way. |
Instance Variable | _buffer | Undocumented |
Inherited from Protocol (via LineOnlyReceiver):
Class Variable | factory | Undocumented |
Method | logPrefix | Return a prefix matching the class name, to identify log messages related to this protocol instance. |
Inherited from BaseProtocol (via LineOnlyReceiver, Protocol):
Instance Variable | connected | Undocumented |
Instance Variable | transport | Undocumented |
Method | makeConnection | Make a connection to a transport and a server. |
Method | connectionMade | Called when a connection is made. |
Lookup user information about the specified address pair.
Override this for when each line is received.
Parameters | line | The line which was received with the delimiter removed. (type: bytes ) |
Called when the connection is shut down.
Clear any circular references here, and any external references to this Protocol. The connection has been closed.
Parameters | reason | Undocumented (type: twisted.python.failure.Failure ) |