getNextMessageId method

int getNextMessageId()

Implementation

int getNextMessageId() {
  return _id++;
}