org.apache.flume.source.scribe
Class Scribe.Client

java.lang.Object
  extended by 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


Nested Class Summary
static class Scribe.Client.Factory
           
 
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)
           
 
Method Summary
 org.apache.thrift.protocol.TProtocol getInputProtocol()
           
 org.apache.thrift.protocol.TProtocol getOutputProtocol()
           
 ResultCode Log(List<LogEntry> messages)
           
 ResultCode recv_Log()
           
 void send_Log(List<LogEntry> messages)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

iprot_

protected org.apache.thrift.protocol.TProtocol iprot_

oprot_

protected org.apache.thrift.protocol.TProtocol oprot_

seqid_

protected int seqid_
Constructor Detail

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)
Method Detail

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.