Ejemplo n.º 1
0
 def send(self, frame):
     self.protocol.transport.write(cons.constructFrame(frame))
Ejemplo n.º 2
0
def sendFrame(to, x):
    print "sending frame "+displayFrame(x)
    to.transport.write(cons.constructFrame(x))