public function __construct($host, $port) { $client = \NettyFramedSocketTransceiver::create($host, $port); parent::__construct(\AvroProtocol::parse(self::$json_protocol), $client); }