u.s.AsyncScribeClient(scribe.Client) : class documentation

Part of udplog.scribe View Source View In Hierarchy

Asynchronous Scribe client.

This derives from scribe.Client to work with the Twisted Thrift transport and provide an asynchronous interface for Log.

Line # Kind Name Docs
41 Method __init__ Set up a scribe client.
55 Method Log Log messages.
70 Method send_Log Called to send log messages.
78 Method recv_Log Called when the result of the log request was received.
0 Instance Variable _reqs List of pending requests. When a result comes in, the associated deferred will be fired. If the connection is closed, the deferreds of the pending requests will be fired with an exception.
_reqs =
List of pending requests. When a result comes in, the associated deferred will be fired. If the connection is closed, the deferreds of the pending requests will be fired with an exception.
def __init__(self, transport, factory): (source)

Set up a scribe client.

ParameterstransportThe transport of the connection to the Scribe server.
factoryThe protocol factory of the Thrift transport protocol.
def Log(self, messages): (source)

Log messages.

ParametersmessagesThe messages to be sent. (type: list of scribe.LogEntry.)
ReturnsDeferred.
def send_Log(self, messages): (source)

Called to send log messages.

def recv_Log(self, iprot, mtype, rseqid): (source)

Called when the result of the log request was received.

API Documentation for udplog, generated by pydoctor at 2014-02-17 15:26:29.