Beispiel #1
0
 def __init__(self, name):
     Node.__init__(self, name)
     self.reply_server = self.add_reply_server("rpc.topic",
                                               self.request_callback)
Beispiel #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
Beispiel #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