Package dev.vality.xrates.rate
Class EventSinkSrv.Client
java.lang.Object
org.apache.thrift.TServiceClient
dev.vality.xrates.rate.EventSinkSrv.Client
- All Implemented Interfaces:
EventSinkSrv.Iface
- Enclosing class:
- EventSinkSrv
public static class EventSinkSrv.Client extends org.apache.thrift.TServiceClient implements EventSinkSrv.Iface
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classEventSinkSrv.Client.Factory -
Field Summary
Fields inherited from class org.apache.thrift.TServiceClient
iprot_, oprot_, seqid_ -
Constructor Summary
-
Method Summary
Modifier and Type Method Description List<SinkEvent>getEvents(EventRange range)longgetLastEventID()List<SinkEvent>recvGetEvents()longrecvGetLastEventID()voidsendGetEvents(EventRange range)voidsendGetLastEventID()Methods inherited from class org.apache.thrift.TServiceClient
getInputProtocol, getOutputProtocol, receiveBase, sendBase, sendBaseOneway
-
Constructor Details
-
Client
public Client(org.apache.thrift.protocol.TProtocol prot) -
Client
public Client(org.apache.thrift.protocol.TProtocol iprot, org.apache.thrift.protocol.TProtocol oprot)
-
-
Method Details
-
getEvents
- Specified by:
getEventsin interfaceEventSinkSrv.Iface- Throws:
org.apache.thrift.TException
-
sendGetEvents
- Throws:
org.apache.thrift.TException
-
recvGetEvents
- Throws:
org.apache.thrift.TException
-
getLastEventID
- Specified by:
getLastEventIDin interfaceEventSinkSrv.Iface- Throws:
NoLastEventorg.apache.thrift.TException
-
sendGetLastEventID
public void sendGetLastEventID() throws org.apache.thrift.TException- Throws:
org.apache.thrift.TException
-
recvGetLastEventID
- Throws:
NoLastEventorg.apache.thrift.TException
-