java.lang.Object
io.mokamint.node.service.RestrictedNodeServices
A provider of node services for the restricted API of a node.
-
Method Summary
Modifier and TypeMethodDescriptionstatic RestrictedNodeServiceopen(RestrictedNode node, int port) Opens and yields a new service for the given node, at the given network port.
-
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 nodeport- the port- Returns:
- the new service
- Throws:
jakarta.websocket.DeploymentException- if the service cannot be deployedIOException- if an I/O error occurs
-