Tabnine Logo
RootNode.setBidib
Code IndexAdd Tabnine to your IDE (free)

How to use
setBidib
method
in
org.bidib.jbidibc.core.node.RootNode

Best Java code snippets using org.bidib.jbidibc.core.node.RootNode.setBidib (Showing top 1 results out of 315)

origin: org.bidib.jbidib/jbidibc-core

/**
 * Get the root node of the system. This is the node that represents the master. Creates a new instance of root node
 * if no root node is stored.
 * 
 * @return the root node
 */
public RootNode getRootNode() {
  // LOGGER.debug("Get the root node.");
  RootNode rootNode = null;
  synchronized (nodes) {
    // get the node from the registered nodes
    rootNode = (RootNode) nodes.get(ROOT_ADDRESS);
    if (rootNode == null) {
      // no root node registered, create and initialize the root node.
      // the root node has always the local address 0 and is the interface node.
      LOGGER.info("The root node is not available, create new root node.");
      rootNode = new RootNode(messageReceiver, ignoreWaitTimeout);
      // initialize the root node
      rootNode.setBidib(bidib);
      rootNode.setRequestFactory(requestFactory);
      rootNode.setResponseTimeout(bidib.getResponseTimeout());
      rootNode.setFirmwarePacketTimeout(bidib.getFirmwarePacketTimeout());
      nodes.put(ROOT_ADDRESS, rootNode);
    }
    LOGGER.debug("Root node: {}", rootNode);
  }
  return rootNode;
}
org.bidib.jbidibc.core.nodeRootNodesetBidib

Popular methods of RootNode

  • getMagic
    Get the magic from the node.
  • <init>
  • getAddr
  • getMessageReceiver
  • getNextFeature
  • getNodeMagic
  • getUniqueId
  • reset
    Send the system reset message to the node.
  • sendNoWait
  • setFirmwarePacketTimeout
  • setNodeMagic
  • setRequestFactory
  • setNodeMagic,
  • setRequestFactory,
  • setResponseTimeout,
  • setStartTime,
  • sysDisable

Popular in Java

  • Reactive rest calls using spring rest template
  • setScale (BigDecimal)
  • getSupportFragmentManager (FragmentActivity)
  • scheduleAtFixedRate (Timer)
  • Permission (java.security)
    Legacy security code; do not use.
  • SecureRandom (java.security)
    This class generates cryptographically secure pseudo-random numbers. It is best to invoke SecureRand
  • Collectors (java.util.stream)
  • ServletException (javax.servlet)
    Defines a general exception a servlet can throw when it encounters difficulty.
  • FileUtils (org.apache.commons.io)
    General file manipulation utilities. Facilities are provided in the following areas: * writing to a
  • IsNull (org.hamcrest.core)
    Is the value null?
  • 14 Best Plugins for Eclipse
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyStudentsTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now