public static class RaftexService.Client extends com.facebook.thrift.EventHandlerBase implements RaftexService.Iface, com.facebook.thrift.TClientIf
| Modifier and Type | Field and Description |
|---|---|
protected com.facebook.thrift.protocol.TProtocol |
iprot_ |
protected com.facebook.thrift.protocol.TProtocol |
oprot_ |
protected int |
seqid_ |
| Constructor and Description |
|---|
Client(com.facebook.thrift.protocol.TProtocol prot) |
Client(com.facebook.thrift.protocol.TProtocol iprot,
com.facebook.thrift.protocol.TProtocol oprot) |
protected com.facebook.thrift.protocol.TProtocol iprot_
protected com.facebook.thrift.protocol.TProtocol oprot_
protected int seqid_
public Client(com.facebook.thrift.protocol.TProtocol prot)
public Client(com.facebook.thrift.protocol.TProtocol iprot,
com.facebook.thrift.protocol.TProtocol oprot)
public com.facebook.thrift.protocol.TProtocol getInputProtocol()
getInputProtocol in interface com.facebook.thrift.TClientIfpublic com.facebook.thrift.protocol.TProtocol getOutputProtocol()
getOutputProtocol in interface com.facebook.thrift.TClientIfpublic AskForVoteResponse askForVote(AskForVoteRequest req) throws com.facebook.thrift.TException
askForVote in interface RaftexService.Ifacecom.facebook.thrift.TExceptionpublic void send_askForVote(AskForVoteRequest req) throws com.facebook.thrift.TException
com.facebook.thrift.TExceptionpublic AskForVoteResponse recv_askForVote() throws com.facebook.thrift.TException
com.facebook.thrift.TExceptionpublic AppendLogResponse appendLog(AppendLogRequest req) throws com.facebook.thrift.TException
appendLog in interface RaftexService.Ifacecom.facebook.thrift.TExceptionpublic void send_appendLog(AppendLogRequest req) throws com.facebook.thrift.TException
com.facebook.thrift.TExceptionpublic AppendLogResponse recv_appendLog() throws com.facebook.thrift.TException
com.facebook.thrift.TExceptionpublic SendSnapshotResponse sendSnapshot(SendSnapshotRequest req) throws com.facebook.thrift.TException
sendSnapshot in interface RaftexService.Ifacecom.facebook.thrift.TExceptionpublic void send_sendSnapshot(SendSnapshotRequest req) throws com.facebook.thrift.TException
com.facebook.thrift.TExceptionpublic SendSnapshotResponse recv_sendSnapshot() throws com.facebook.thrift.TException
com.facebook.thrift.TExceptionpublic HeartbeatResponse heartbeat(HeartbeatRequest req) throws com.facebook.thrift.TException
heartbeat in interface RaftexService.Ifacecom.facebook.thrift.TExceptionpublic void send_heartbeat(HeartbeatRequest req) throws com.facebook.thrift.TException
com.facebook.thrift.TExceptionpublic HeartbeatResponse recv_heartbeat() throws com.facebook.thrift.TException
com.facebook.thrift.TExceptionpublic GetStateResponse getState(GetStateRequest req) throws com.facebook.thrift.TException
getState in interface RaftexService.Ifacecom.facebook.thrift.TExceptionpublic void send_getState(GetStateRequest req) throws com.facebook.thrift.TException
com.facebook.thrift.TExceptionpublic GetStateResponse recv_getState() throws com.facebook.thrift.TException
com.facebook.thrift.TExceptionpublic StartSendCheckpointResponse startSendCheckpoint(SendCheckpointRequest req) throws com.facebook.thrift.TException
startSendCheckpoint in interface RaftexService.Ifacecom.facebook.thrift.TExceptionpublic void send_startSendCheckpoint(SendCheckpointRequest req) throws com.facebook.thrift.TException
com.facebook.thrift.TExceptionpublic StartSendCheckpointResponse recv_startSendCheckpoint() throws com.facebook.thrift.TException
com.facebook.thrift.TExceptionpublic EndSendCheckpointResponse endSendCheckpoint(SendCheckpointRequest req) throws com.facebook.thrift.TException
endSendCheckpoint in interface RaftexService.Ifacecom.facebook.thrift.TExceptionpublic void send_endSendCheckpoint(SendCheckpointRequest req) throws com.facebook.thrift.TException
com.facebook.thrift.TExceptionpublic EndSendCheckpointResponse recv_endSendCheckpoint() throws com.facebook.thrift.TException
com.facebook.thrift.TExceptionCopyright © 2024. All rights reserved.