pub fn new(msg_id: u16, msg_type: u16, body: B) -> ControlMessage<B> {
        ControlMessage {
            header: ControlMessageHeader::new(msg_id, msg_type),
            body:   body
        }
    }
/// Create a new Control Protocol message with a given message ID, message
/// type and payload.
Create a new Control Protocol message with a given message ID, message
type and payload.
Create a new Control Protocol message with a given message ID message type and payload .
pub fn new(msg_id: u16, msg_type: u16, body: B) -> ControlMessage<B> {
        ControlMessage {
            header: ControlMessageHeader::new(msg_id, msg_type),
            body:   body
        }
    }
pub fn new ( msg_id : u16 , msg_type : u16 , body : B ) -> ControlMessage < B > { ControlMessage { header : ControlMessageHeader :: new ( msg_id , msg_type ) , body : body } }
Create a new Control Protocol message with a given message ID, message
type and payload.
Create a new Control Protocol message with a given message ID message type and payload .
msg_id
u16
msg_type
u16
body
B
msg_id
u16
msg_type
u16
body
B