Example #1
0
def db_connect():
    global Db
    Db = peer2peer.conn()
    peer2peer.subscribe(Db, UUID)
    return Db
Example #2
0
def xdb_connect():
    global XDb
    XDb = peer2peer.conn('v.ccl.io:8080')
    peer2peer.subscribe(XDb, UUID)
    return XDb
Example #3
0
def connect():
    global Ps
    Ps = peer2peer.conn()
    db_connect()
    return Ps
Example #4
0
def xconnect():
    global Xps
    Xps = peer2peer.conn('v.ccl.io:8080')
    xdb_connect()
    return Xps
Example #5
0
def connect():
    global Ps
    Ps = peer2peer.conn()
    pass