stop method

void stop()

Implementation

void stop() {
  channel.close();
}