42
// message type of the body and the type of the protocol to which this message
43
// belongs.
45
>
if msg == nil {
46
return TypeUnknown, MessageTypeUnknown, errNilMsg
48
return TypeUnknown, MessageTypeUnknown, errNilBody
49
}
50
52
>
if bodyTypeName == "" {
54
>
}
55
56
msgType := MessageType(bodyTypeName)