getNextCommandId method
Implementation
int getNextCommandId() {
_commandId++;
if (_commandId >= _maxCommandId) {
_commandId = 1;
}
return _commandId;
}
int getNextCommandId() {
_commandId++;
if (_commandId >= _maxCommandId) {
_commandId = 1;
}
return _commandId;
}