/// Send a given Control Protocol message which needs to be confirmed by 
// ACK.
Send a given Control Protocol message which needs to be confirmed by
ACK.
Send a given Control Protocol message which needs to be confirmed by ACK .
fn send_unconfirmed_control_message<B: ControlMessageBody>(
        &mut self, 
        control_msg: ControlMessage<B>, 
        event_loop: &mut EventLoop<Self>) {
        if self.expected_acks.is_empty() {
            self.ack_tout.set(CONNECTION_TIMEOUT);
        }
        let msg_id = control_msg.header()
            .msg_id;
        self.expected_acks.push_back(msg_id);
        self.send_control_message(control_msg, event_loop);
    }
fn send_unconfirmed_control_message < B : ControlMessageBody > ( & mut self , control_msg : ControlMessage < B > , event_loop : & mut EventLoop < Self > ) { if self . expected_acks . is_empty ( ) { self . ack_tout . set ( CONNECTION_TIMEOUT ) ; } let msg_id = control_msg . header ( ) . msg_id ; self . expected_acks . push_back ( msg_id ) ; self . send_control_message ( control_msg , event_loop ) ; }
Send a given Control Protocol message which needs to be confirmed by
ACK.
Send a given Control Protocol message which needs to be confirmed by ACK .
&mut self
control_msg
ControlMessage<B>
event_loop
&mut EventLoop<Self>