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