Class RestrictedNodeServices

java.lang.Object
io.mokamint.node.service.RestrictedNodeServices

public final class RestrictedNodeServices extends Object
A provider of node services for the restricted API of a node.
  • Method Details

    • open

      public static RestrictedNodeService open(RestrictedNode node, int port) throws jakarta.websocket.DeploymentException, IOException
      Opens and yields a new service for the given node, at the given network port.
      Parameters:
      node - the node
      port - the port
      Returns:
      the new service
      Throws:
      jakarta.websocket.DeploymentException - if the service cannot be deployed
      IOException - if an I/O error occurs