Class EventSinkSrv.AsyncClient

java.lang.Object
org.apache.thrift.async.TAsyncClient
dev.vality.xrates.rate.EventSinkSrv.AsyncClient
All Implemented Interfaces:
EventSinkSrv.AsyncIface
Enclosing class:
EventSinkSrv

public static class EventSinkSrv.AsyncClient
extends org.apache.thrift.async.TAsyncClient
implements EventSinkSrv.AsyncIface
  • Nested Class Summary

    Nested Classes
    Modifier and Type Class Description
    static class  EventSinkSrv.AsyncClient.Factory  
    static class  EventSinkSrv.AsyncClient.GetEvents_call  
    static class  EventSinkSrv.AsyncClient.GetLastEventID_call  
  • Field Summary

    Fields inherited from class org.apache.thrift.async.TAsyncClient

    ___currentMethod, ___manager, ___protocolFactory, ___transport
  • Constructor Summary

    Constructors
    Constructor Description
    AsyncClient​(org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.async.TAsyncClientManager clientManager, org.apache.thrift.transport.TNonblockingTransport transport)  
  • Method Summary

    Modifier and Type Method Description
    void getEvents​(EventRange range, org.apache.thrift.async.AsyncMethodCallback<List<SinkEvent>> resultHandler)  
    void getLastEventID​(org.apache.thrift.async.AsyncMethodCallback<Long> resultHandler)  

    Methods inherited from class org.apache.thrift.async.TAsyncClient

    checkReady, getError, getProtocolFactory, getTimeout, hasError, hasTimeout, onComplete, onError, setTimeout

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • AsyncClient

      public AsyncClient​(org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.async.TAsyncClientManager clientManager, org.apache.thrift.transport.TNonblockingTransport transport)
  • Method Details

    • getEvents

      public void getEvents​(EventRange range, org.apache.thrift.async.AsyncMethodCallback<List<SinkEvent>> resultHandler) throws org.apache.thrift.TException
      Specified by:
      getEvents in interface EventSinkSrv.AsyncIface
      Throws:
      org.apache.thrift.TException
    • getLastEventID

      public void getLastEventID​(org.apache.thrift.async.AsyncMethodCallback<Long> resultHandler) throws org.apache.thrift.TException
      Specified by:
      getLastEventID in interface EventSinkSrv.AsyncIface
      Throws:
      org.apache.thrift.TException