Ejemplo n.º 1
0
    def __init__(self, urn=createURN("peer"),serverPort=4000, maxNeighbor=1):
        
        AbstractPeer.initialize(self,  urn,serverPort, maxNeighbor)
    
    

        
Ejemplo n.º 2
0
 def __init__(self, urn=createURN("peer"),serverPort=4000, maxNeighbor=1):
     
     AbstractPeer.initialize(self,  urn,serverPort,maxNeighbor,peerType = AbstractPeer.PORTAL)
     
     
     self.__superPeers = {}
     
     self.__dimension = 1
Ejemplo n.º 3
0
 def __init__(self,network, pid=createURN("rpycpeer"),udpPort=4000):
     
     AbstractPeer.initialize(self,  network, pid,udpPort)
Ejemplo n.º 4
0
 def __init__(self, urn=createURN("peer"),serverPort=4000, maxNeighbor=1):
     
     self.__superPeerNeighbors = {}
     self.__levelNeighbor = 1
     
     AbstractPeer.initialize(self, urn,serverPort, maxNeighbor, peerType = AbstractPeer.SUPER)