Package org.apache.avro.ipc

Examples of org.apache.avro.ipc.AccountingTransceiver


  @Override
  public void open() throws IOException {

    URL url = new URL("http", host, port, "/");
    Transceiver http = new HttpTransceiver(url);
    transport = new AccountingTransceiver(http);
    try {
      this.avroClient = (FlumeEventAvroServer) SpecificRequestor.getClient(
          FlumeEventAvroServer.class, transport);
    } catch (Exception e) {
      throw new IOException("Failed to open Avro event sink at " + host + ":"
View Full Code Here

TOP

Related Classes of org.apache.avro.ipc.AccountingTransceiver

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.