Examples of FRIEND_TRUST


Examples of freenet.node.DarknetPeerNode.FRIEND_TRUST

      String privateComment = null;
      if(!isOpennet())
        privateComment = request.getPartAsStringFailsafe("peerPrivateNote", 250).trim();
     
      String trustS = request.getPartAsStringFailsafe("trust", 10);
      FRIEND_TRUST trust = null;
      if(trustS != null && !trustS.equals(""))
        trust = FRIEND_TRUST.valueOf(trustS);
     
      String visibilityS = request.getPartAsStringFailsafe("visibility", 10);
      FRIEND_VISIBILITY visibility = null;
View Full Code Here

Examples of freenet.node.DarknetPeerNode.FRIEND_TRUST

        }
      }
      redirectHere(ctx);
      return;
    } else if (request.isPartSet("changeTrust") && request.isPartSet("doChangeTrust")) {
      FRIEND_TRUST trust = FRIEND_TRUST.valueOf(request.getPartAsStringFailsafe("changeTrust", 10));
      DarknetPeerNode[] peerNodes = node.getDarknetConnections();
      for(DarknetPeerNode pn: peerNodes) {
        if (request.isPartSet("node_"+pn.hashCode())) { 
          pn.setTrustLevel(trust);
        }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.