Package rice.p2p.commonapi

Examples of rice.p2p.commonapi.NodeHandle


    LeafSet leafSet = node.getLeafSet();
    List leaves = leafSet.asList();
    boolean found = false;
    int size = leaves.size();
    for (int i = 0; i < size; i++) {
      NodeHandle nh = (NodeHandle) leaves.get(i);
      if (nodeId.equalsIgnoreCase(nh.getId().toStringFull())) {
        log
            .debug("Found a node in leaf set to which the message can be "
                + "sent directly: " + nodeId);
        found = true;
        final Counter counter = new Counter(1);
View Full Code Here

TOP

Related Classes of rice.p2p.commonapi.NodeHandle

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.