def cancelEventTypes(self, types):
     agent = self.agent
     for x0 in types:
         typecheck.is_typeinfo(x0, AssertionError)
     args = {}
     args['types'] = [raritan.rpc.TypeInfo.encode(x0) for x0 in types]
     rsp = agent.json_rpc(self.target, 'cancelEventTypes', args)
Beispiel #2
0
 def demandEventTypes(self, types):
     agent = self.agent
     for x0 in types:
         typecheck.is_typeinfo(x0, AssertionError)
     args = {}
     args["types"] = [raritan.rpc.TypeInfo.encode(x0) for x0 in types]
     rsp = agent.json_rpc(self.target, "demandEventTypes", args)
 def cancelEvent(self, type, src):
     agent = self.agent
     typecheck.is_typeinfo(type, AssertionError)
     typecheck.is_remote_obj(src, AssertionError)
     args = {}
     args['type'] = raritan.rpc.TypeInfo.encode(type)
     args['src'] = Interface.encode(src)
     rsp = agent.json_rpc(self.target, 'cancelEvent', args)
Beispiel #4
0
 def demandEvent(self, type, src):
     agent = self.agent
     typecheck.is_typeinfo(type, AssertionError)
     typecheck.is_remote_obj(src, AssertionError)
     args = {}
     args["type"] = raritan.rpc.TypeInfo.encode(type)
     args["src"] = Interface.encode(src)
     rsp = agent.json_rpc(self.target, "demandEvent", args)
        def __init__(self, type, src):
            typecheck.is_typeinfo(type, AssertionError)
            typecheck.is_remote_obj(src, AssertionError)

            self.type = type
            self.src = src
 def cancelEventType(self, type):
     agent = self.agent
     typecheck.is_typeinfo(type, AssertionError)
     args = {}
     args['type'] = raritan.rpc.TypeInfo.encode(type)
     rsp = agent.json_rpc(self.target, 'cancelEventType', args)
Beispiel #7
0
 def demandEventType(self, type):
     agent = self.agent
     typecheck.is_typeinfo(type, AssertionError)
     args = {}
     args["type"] = raritan.rpc.TypeInfo.encode(type)
     rsp = agent.json_rpc(self.target, "demandEventType", args)