Example #1
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
Example #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
Example #3
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))
Example #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))