public function disconnect()
  {
    if($this->stream === null) return;

	fclose($this->stream);
    $this->stream = null;

    \ManiaLivePlugins\Standard\TeamSpeak\TeamSpeak3\Helper\Signal::getInstance()->emit(strtolower($this->getAdapterType()) . "Disconnected");
  }
public function disconnect()
  {
    if($this->stream === null) return;

	fclose($this->stream);
    $this->stream = null;

    \ManiaLivePlugins\Standard\TeamSpeak\TeamSpeak3\Helper\Signal::getInstance()->emit(strtolower($this->getAdapterType()) . "Disconnected");
  }
public function disconnect ( ) { if ( $ this -> stream === null ) return ; fclose ( $ this -> stream ) ; $ this -> stream = null ; \ ManiaLivePlugins \ Standard \ TeamSpeak \ TeamSpeak3 \ Helper \ Signal :: getInstance ( ) -> emit ( strtolower ( $ this -> getAdapterType ( ) ) . "Disconnected" ) ; }
Disconnects from a remote server.

@return void
Disconnects from a remote server .