Interface AddPeerMessage

All Superinterfaces:
io.hotmoka.websockets.beans.api.RpcMessage

public interface AddPeerMessage extends io.hotmoka.websockets.beans.api.RpcMessage
The network message corresponding to RestrictedNode.add(Peer).
  • Method Summary

    Modifier and Type
    Method
    Description
    Yields the peer requested to add.

    Methods inherited from interface io.hotmoka.websockets.beans.api.RpcMessage

    equals, getId, getType, hashCode
  • Method Details

    • getPeer

      Peer getPeer()
      Yields the peer requested to add.
      Returns:
      the peer