/// Process a Control Protocol PING message.
Process a Control Protocol PING message.
Process a Control Protocol PING message .
fn process_ping_message(
        &mut self, 
        msg_id: u16, 
        event_loop: &mut EventLoop<Self>) -> SocketEventResult {
        if self.state == ProtocolState::Established {
            self.send_ack_message(msg_id, 0, event_loop);
            Ok(None)
        } else {
            Err(ArrowError::other("cannot handle PING message in the Handshake state"))
        }
    }
fn process_ping_message ( & mut self , msg_id : u16 , event_loop : & mut EventLoop < Self > ) -> SocketEventResult { if self . state == ProtocolState :: Established { self . send_ack_message ( msg_id , 0 , event_loop ) ; Ok ( None ) } else { Err ( ArrowError :: other ( " " ) ) } }
Process a Control Protocol PING message.
Process a Control Protocol PING message .
&mut self
msg_id
u16
event_loop
&mut EventLoop<Self>