Esempio n. 1
0
 def __init__(self, name):
     Node.__init__(self, name)
     self.reply_server = self.add_reply_server("rpc.topic",
                                               self.request_callback)
Esempio n. 2
0
 def __init__(self, name):
     Node.__init__(self, name)
     self.publisher = self.add_publisher("proto.pub.topic")
     self.repeater = self.add_repeater(1000, self.callback)
     self.count = 0
Esempio n. 3
0
 def __init__(self, name):
     Node.__init__(self, name)
     self.request_client = self.add_request_client("rpc.topic",
                                                   self.connect_handler)
     # self.repeater = self.add_repeater(1000, self.request_sender)
     self.counter = 0