def data_sent(self, transport, data): _async.stdout("data_sent: %s\n" % data)
def data_received(self, transport, data): _async.stdout("data_received\n") _async.stdout(data) _async.stdout("\n")
def line_received(self, transport, line): _async.stdout("line_received: %s\n" % line)
def connection_made(self, transport): _async.stdout("connection_made\n")
def connection_closed(self, transport, op): _async.stdout("connection_closed: %d\n" % op)