def send(self, message): ''' send stream on tcp layer format message into raw stream understood by transport layer @param message: (tuple | Type) ''' s = Stream() s.writeType(message) self.transport.write(s.getvalue())
def send(self, message): """ @summary: Send Stream on TCP layer write rdpy Stream message to str And send it to transport layer @param message: (tuple | Type) """ s = Stream() s.writeType(message) self.transport.write(s.getvalue())