Interface Path


public interface Path
Represents a path for sending messages to a specific Peer.
  • Method Summary

    Modifier and Type
    Method
    Description
    send(Message message)
    Sends message via the defined path.
  • Method Details

    • send

      CompletableFuture<Void> send(Message message)
      Sends message via the defined path.
      Parameters:
      message - the message to be sent
      Returns:
      a completed future if the message was successfully processed, otherwise an exceptionally future