(self, host, address)
| 24 | |
| 25 | class Server(MessagingHandler): |
| 26 | def __init__(self, host, address): |
| 27 | super(Server, self).__init__() |
| 28 | self.container = Container(self) |
| 29 | self.conn = self.container.connect(host) |
| 30 | self.receiver = self.container.create_receiver(self.conn, address) |
| 31 | self.sender = self.container.create_sender(self.conn, None) |
| 32 | |
| 33 | def on_message(self, event): |
| 34 | self.on_request(event.message.body, event.message.reply_to) |
nothing calls this directly
no test coverage detected