ReadonlyaddressThis transport's own address, used as GossipMessage.from.
OptionalcloseReleases any underlying resources; optional.
Registers the callback invoked for each inbound message.
Receives every message delivered to this address.
Sends a message to a peer.
Destination address.
The gossip payload to deliver.
Pluggable message transport a GossipMembership uses to exchange GossipMessages.
Remarks
Abstracts the wire so gossip can run over anything — UDP, an in-process bus (InMemoryGossipTransport), or a custom channel. Implementations must deliver received messages to the handler registered via onReceive.