[][src]Function tcb::vv::communication::connector::start

pub fn start(
    local_id: usize,
    peer_addresses: &Vec<String>,
    configuration: &Arc<Configuration>
) -> Vec<Sender<(Arc<Barrier>, Arc<Vec<u8>>)>>

Starts the Connector thread that connects to every peer in the group and ends when successfully connected to all of them.

Arguments

local_id - Local peer's globally unique id.

peer_addresses - Addresses the middleware will connect to.

configuration - Middleware's configuration file.