Package org.apache.accumulo.cloudtrace.thrift.SpanReceiver

Examples of org.apache.accumulo.cloudtrace.thrift.SpanReceiver.Client


      InetSocketAddress addr = new InetSocketAddress(hostAddr[0], Integer.parseInt(hostAddr[1]));
      Socket sock = new Socket();
      sock.connect(addr);
      TTransport transport = new TSocket(sock);
      TProtocol prot = new TBinaryProtocol(transport);
      return new Client(prot);
    } catch (Exception ex) {
      log.error(ex, ex);
      return null;
    }
  }
View Full Code Here

TOP

Related Classes of org.apache.accumulo.cloudtrace.thrift.SpanReceiver.Client

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.