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

        
Example #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
Example #3
0
 def __init__(self,network, pid=createURN("rpycpeer"),udpPort=4000):
     
     AbstractPeer.initialize(self,  network, pid,udpPort)
Example #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)