original_string: public function serve()
      {
          $this->transport_->listen();
  
          while (!$this->stop_) {
              try {
                  $transport = $this->transport_->accept();
  
                  if ($transport != null) {
                      $inputTransport = $this->inputTransportFactory_->getTransport($transport);
                      $outputTransport = $this->outputTransportFactory_->getTransport($transport);
                      $inputProtocol = $this->inputProtocolFactory_->getProtocol($inputTransport);
                      $outputProtocol = $this->outputProtocolFactory_->getProtocol($outputTransport);
                      while ($this->processor_->process($inputProtocol, $outputProtocol)) {
                      }
                  }
              } catch (TTransportException $e) {
              }
          }
      }
code: public function serve()
      {
          $this->transport_->listen();
  
          while (!$this->stop_) {
              try {
                  $transport = $this->transport_->accept();
  
                  if ($transport != null) {
                      $inputTransport = $this->inputTransportFactory_->getTransport($transport);
                      $outputTransport = $this->outputTransportFactory_->getTransport($transport);
                      $inputProtocol = $this->inputProtocolFactory_->getProtocol($inputTransport);
                      $outputProtocol = $this->outputProtocolFactory_->getProtocol($outputTransport);
                      while ($this->processor_->process($inputProtocol, $outputProtocol)) {
                      }
                  }
              } catch (TTransportException $e) {
              }
          }
      }
code_tokens: public function serve ( ) { $ this -> transport_ -> listen ( ) ; while ( ! $ this -> stop_ ) { try { $ transport = $ this -> transport_ -> accept ( ) ; if ( $ transport != null ) { $ inputTransport = $ this -> inputTransportFactory_ -> getTransport ( $ transport ) ; $ outputTransport = $ this -> outputTransportFactory_ -> getTransport ( $ transport ) ; $ inputProtocol = $ this -> inputProtocolFactory_ -> getProtocol ( $ inputTransport ) ; $ outputProtocol = $ this -> outputProtocolFactory_ -> getProtocol ( $ outputTransport ) ; while ( $ this -> processor_ -> process ( $ inputProtocol , $ outputProtocol ) ) { } } } catch ( TTransportException $ e ) { } } }
docstring: Listens for new client using the supplied
  transport. It handles TTransportExceptions
  to avoid timeouts etc killing it
  
  @return void
docstring_tokens: Listens for new client using the supplied transport . It handles TTransportExceptions to avoid timeouts etc killing it