Package freenet.node

Examples of freenet.node.DarknetPeerNode.disablePeer()


    DarknetPeerNode dpn = (DarknetPeerNode) pn;
    String isDisabledString = fs.get("IsDisabled");
    if(isDisabledString != null) {
      if(!isDisabledString.equals("")) {
        if(Fields.stringToBool(isDisabledString, false)) {
          dpn.disablePeer();
        } else {
          dpn.enablePeer();
        }
      }
    }
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.