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]

[src]

Creates a new builder to configure and create a Node.

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

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

[src]

[src]

Respond to a GetIData request.

[src]

[src]

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

[src]

[src]

[src]

Respond to a GetMDataShell request.

[src]

[src]

[src]

[src]

Respond to a GetMDataValue request.

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

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

[src]

Returns the PublicId of this node.

[src]

Returns the routing table of this node.

[src]

Returns the minimum section size this vault is using.

Trait Implementations

impl Drop for Node
[src]

[src]

Executes the destructor for this type. Read more