reset method

void reset()

Implementation

void reset() {
  connections = [];
  joined = false;
  connected = false;
}