示例#1
0
文件: rest.py 项目: nemec/Automaton
 def __init__(self, server='localhost',
     path_prefix='', port=9090, appname="RESTLib"):
   ClientInterface.__init__(self)
   self.server = server
   self.port = port
   self.appname = appname
   self.clientid = None
   self.prefix = path_prefix
示例#2
0
 def __init__(self,
              server='localhost',
              path_prefix='',
              port=9090,
              appname="RESTLib"):
     ClientInterface.__init__(self)
     self.server = server
     self.port = port
     self.appname = appname
     self.clientid = None
     self.prefix = path_prefix
示例#3
0
文件: pyro.py 项目: nemec/Automaton
 def __init__(self, server='localhost', port=9090, appname="PyroClient"):
   ClientInterface.__init__(self)
   self.appname = appname
   self.clientid = None
   self.client = Pyro.core.getProxyForURI(
                   "PYROLOC://{0}:{1}/automaton".format(server, port))
示例#4
0
 def __init__(self, server='localhost', port=9090, appname="PyroClient"):
     ClientInterface.__init__(self)
     self.appname = appname
     self.clientid = None
     self.client = Pyro.core.getProxyForURI(
         "PYROLOC://{0}:{1}/automaton".format(server, port))