/// Create a new REGISTER message.
Create a new REGISTER message.
Create a new REGISTER message .
pub fn new(
        uuid: [u8; 16], 
        mac_addr: [u8; 6], 
        passwd: [u8; 16], 
        svc_table: ServiceTable) -> RegisterMessage {
        RegisterMessage {
            header: RegisterMessageHeader::new(uuid, mac_addr, passwd),
            table:  svc_table
        }
    }
pub fn new ( uuid : [ u8 ; 16 ] , mac_addr : [ u8 ; 6 ] , passwd : [ u8 ; 16 ] , svc_table : ServiceTable ) -> RegisterMessage { RegisterMessage { header : RegisterMessageHeader :: new ( uuid , mac_addr , passwd ) , table : svc_table } }
Create a new REGISTER message.
Create a new REGISTER message .
uuid
[u8; 16]
mac_addr
[u8; 6]
passwd
[u8; 16]
svc_table
ServiceTable