Module crypt.api

Interface INode


public interface INode
The interface INode represents a node in a blockchain network.

This interface defines methods for getting and setting the address of a node.

  • Method Summary

    Modifier and Type
    Method
    Description
    Gets the address of the node.
    void
    setAddress(URL address)
    Sets the address of the node.
  • Method Details

    • getAddress

      URL getAddress()
      Gets the address of the node.
      Returns:
      the address as a URL
    • setAddress

      void setAddress(URL address)
      Sets the address of the node.
      Parameters:
      address - the address to set, as a URL