examples/rpc-client.py
def create_caller(self, method_map, source_addr, target_addr,
                      receiver_properties, sender_properties):
        """ Caller factory
        """
        if self.caller:
            self.caller.destroy()
        self.caller = MyCaller(method_map, self, source_addr, target_addr,
                               receiver_properties, sender_properties)
        return self.caller
def create_caller(self, method_map, source_addr, target_addr,
                      receiver_properties, sender_properties):
        """ Caller factory
        """
        if self.caller:
            self.caller.destroy()
        self.caller = MyCaller(method_map, self, source_addr, target_addr,
                               receiver_properties, sender_properties)
        return self.caller
def create_caller ( self , method_map , source_addr , target_addr , receiver_properties , sender_properties ) : if self . caller : self . caller . destroy ( ) self . caller = MyCaller ( method_map , self , source_addr , target_addr , receiver_properties , sender_properties ) return self . caller
Caller factory
Caller factory