pub fn connect_to_group(&mut self, group: HashMap<NodeID, SocketAddr>) {
        let mut inner_locked = self.inner.lock().unwrap();

        // Required to for testing network churns
        #[cfg(test)]
        inner_locked.disconnect_from_all();

        inner_locked.group = group;
        inner_locked.connect_to_all();
    }
/// Connects to every member in the given group
Connects to every member in the given group
Connects to every member in the given group
pub fn connect_to_group(&mut self, group: HashMap<NodeID, SocketAddr>) {
        let mut inner_locked = self.inner.lock().unwrap();
        // Required to for testing network churns
        #[cfg(test)]
        inner_locked.disconnect_from_all();
        inner_locked.group = group;
        inner_locked.connect_to_all();
    }
pub fn connect_to_group ( & mut self , group : HashMap < NodeID , SocketAddr > ) { let mut inner_locked = self . inner . lock ( ) . unwrap ( ) ; // Required to for testing network churns # [ cfg ( test ) ] inner_locked . disconnect_from_all ( ) ; inner_locked . group = group ; inner_locked . connect_to_all ( ) ; }
Connects to every member in the given group
Connects to every member in the given group
&mut self
group
HashMap<NodeID, SocketAddr>