Example #1
0
 def __init__(self):
     basics.__init__(self)
     xmlrpc.XMLRPC.__init__(self)
     self.userServer = UserServer.UserServer()
     self.liSLUser = ['last_name',  'first_name', 'agent_id', 'inventory_host', 'region_y', 'region_x', 'secure_session_id',  'seed_capability', 'agent_access' , 'session_id' , 'login','sim_ip',  'seconds_since_epoch', 'message', 'circuit_code',   'sim_port', 'look_at ' ]
     
     self.liDataUser = ['lastname', 'username', 'uuid', 'userinventoryuri', 'homelocationx', 'homelocationy', 'securesessionid' ]
    def __init__(self):

        xmlrpc.XMLRPC.__init__(self)
        basics.__init__(self)
        self.db_com = databases.DB_Com.DB_Com()

        myXmlRpc.__init__(self)
        usefullThings.__init__(self)
        self.dicExpectUser = {}
        self.Region = regions.Region.Region()

        self.defaultUser = {
            "last_name": "Tairov",
            "sim_ip": "85.214.139.187",
            "start_location": "last",
            "seconds_since_epoch": 20000,
            "message": "Monday",
            "first_name": "Juergen",
            "circuit_code": 3,
            "sim_port": 9300,
            "secure_session_id": "uuid333",
            "look_at ": [1.0, 1.0, 1.0],
            "agent_id": "aaabb-33dsd-seee",
            "inventory_host": "localhost",
            "region_y": 0.0,
            "region_x": 0.0,
            "seed_capability": "<llsd><map><key>request1</key><string>Capability1</string><key>request2</key><string>Capability2</string</map></llsd> ",
            "agent_access": "0",
            "session_id": "aaddss-wewew-33222",
            "login": "******",
        }
 def __init__(self):
     xmlrpc.XMLRPC.__init__(self)
     basics.__init__(self)
     Region.__init__(self)
     
     self.db_com = databases.DB_Com.DB_Com()
     myXmlRpc.__init__(self)
     usefullThings.__init__(self)
    def __init__(self):
        #resource.__init__(self)
        Resource.__init__(self)

        self.isLeaf = True
        self.allowedMethods = ('GET','POST')
        self.addSlash = False

        basics.__init__(self)
        self.db_com = databases.DB_Com.DB_Com()
        #dicxml.__init__(self)
        usefullThings.__init__(self)
 def __init__(self):
     basics.__init__(self)
 def __init__(self):
     basics.__init__(self)
     self.db_com = databases.DB_Com.DB_Com()
     #dicxml.__init__(self)
     usefullThings.__init__(self)