org.apache.flume.source.scribe
Class Scribe.Client
java.lang.Object
org.apache.flume.source.scribe.Scribe.Client
- All Implemented Interfaces:
- Scribe.Iface, org.apache.thrift.TServiceClient
- Enclosing class:
- Scribe
public static class Scribe.Client
- extends Object
- implements org.apache.thrift.TServiceClient, Scribe.Iface
Field Summary |
protected org.apache.thrift.protocol.TProtocol |
iprot_
|
protected org.apache.thrift.protocol.TProtocol |
oprot_
|
protected int |
seqid_
|
Constructor Summary |
Scribe.Client(org.apache.thrift.protocol.TProtocol prot)
|
Scribe.Client(org.apache.thrift.protocol.TProtocol iprot,
org.apache.thrift.protocol.TProtocol oprot)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
iprot_
protected org.apache.thrift.protocol.TProtocol iprot_
oprot_
protected org.apache.thrift.protocol.TProtocol oprot_
seqid_
protected int seqid_
Scribe.Client
public Scribe.Client(org.apache.thrift.protocol.TProtocol prot)
Scribe.Client
public Scribe.Client(org.apache.thrift.protocol.TProtocol iprot,
org.apache.thrift.protocol.TProtocol oprot)
getInputProtocol
public org.apache.thrift.protocol.TProtocol getInputProtocol()
- Specified by:
getInputProtocol
in interface org.apache.thrift.TServiceClient
getOutputProtocol
public org.apache.thrift.protocol.TProtocol getOutputProtocol()
- Specified by:
getOutputProtocol
in interface org.apache.thrift.TServiceClient
Log
public ResultCode Log(List<LogEntry> messages)
throws org.apache.thrift.TException
- Specified by:
Log
in interface Scribe.Iface
- Throws:
org.apache.thrift.TException
send_Log
public void send_Log(List<LogEntry> messages)
throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
recv_Log
public ResultCode recv_Log()
throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
Copyright © 2009-2012 Apache Software Foundation. All Rights Reserved.