Exemplo n.º 1
0
class Sender(object):

    def __init__(self):
        self.server = WebServer()

    def start(self):
        self.server.start()

    def send_message(self, data):
        self.server.send_message(data)

    def stop(self):
        self.server.stop()