Struct routing::Node [] [src]

pub struct Node { /* fields omitted */ }

Interface for sending and receiving messages to and from other nodes, in the role of a full routing node.

A node is a part of the network that can route messages and be a member of a section or group authority. Its methods can be used to send requests and responses as either an individual ManagedNode or as a part of a section or group authority. Their src argument indicates that role, and can be any Authority other than Client.

Methods

impl Node
[src]

Creates a new builder to configure and create a Node.

Send a Refresh request from src to dst to trigger churn.

Respond to a GetIData request.

Respond to a GetMData request. Note: this response is unlikely to accumulate during churn.

Respond to a GetMDataShell request.

Respond to a GetMDataValue request.

Returns the first count names of the nodes in the routing table which are closest to the given one.

Returns the PublicId of this node.

Returns the routing table of this node.

Returns the minimum section size this vault is using.

Trait Implementations

impl Drop for Node
[src]

A method called when the value goes out of scope. Read more