Package org.drasyl.peer
Interface Path
public interface Path
Represents a path for sending messages to a specific Peer.
-
Method Summary
Modifier and TypeMethodDescriptionSendsmessage
via the defined path.
-
Method Details
-
send
Sendsmessage
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
-