isValid method
Validate a received DCUtR message.
Implementation
bool isValid(DCUtRMessage msg) {
return msg.type == typeConnect || msg.type == typeSync;
}
Validate a received DCUtR message.
bool isValid(DCUtRMessage msg) {
return msg.type == typeConnect || msg.type == typeSync;
}