anchor.diff:        }
       }
       else {
  -      this.log.info ('Discarding unknown packet type ${packet.contentType}');
  +      this.log.severe ('Discarding unknown packet type ${packet.contentType}');
       }
     }
  -
  -  Future<Packet> _sendCommand(String command) {
  -
  -    Completer<Packet> completer= new Completer<Packet>();
  -
  -    this._nonEventStream.stream.first.then((Packet packet) {
  -      completer.complete(packet);
  -    }).catchError((error) {
  -      completer.completeError(error);
  -    });
  -
  -    this._writeCommandToSocket(command);
  -
  -    return completer.future;
  -  }
  -
  -  void _writeCommandToSocket (String command) {
  -    this._socket.writeln('${command}\n');
  -  }
   }
  
positive.code:               completer.completeError(new TimeoutException('Failed to get response to command $command')));
     }
  
    void _shutdown() => throw new StateError('Not implemented');
  
    Future disconnect() => this._socket.close();
  
    void _dispatch(Packet packet) {
      if (packet.isEvent) {
        this._eventStream.add(new Event.fromPacket(packet));
  
negative.code: part of esl;
  
  /// "Enum" of event formats.
  abstract class EventFormat {
    static String Plain = "plain";
    static String Json  = "json";
    static String Xml   = "xml";
  
    /**
     * As of now, only JSON format is supported. Most of the raw packet handling
     * is done internally, so the transport serialization should be insignificant
     * for the usage og the library.
     */
    static List<String> supportedFormats = [Json];
  }
  
  /**
   * FreeSWTICH event socket connection.
   */
  class Connection {
  
    final Logger log = new Logger (libraryName);
  