Class ProcessorSrv.Client

java.lang.Object
org.apache.thrift.TServiceClient
dev.vality.machinegun.stateproc.ProcessorSrv.Client
All Implemented Interfaces:
ProcessorSrv.Iface
Enclosing class:
ProcessorSrv

public static class ProcessorSrv.Client
extends org.apache.thrift.TServiceClient
implements ProcessorSrv.Iface
  • 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

    • processSignal

      public SignalResult processSignal​(SignalArgs a) throws org.apache.thrift.TException
      Description copied from interface: ProcessorSrv.Iface
      Обработать поступивший сигнал.
      Specified by:
      processSignal in interface ProcessorSrv.Iface
      Throws:
      org.apache.thrift.TException
    • sendProcessSignal

      public void sendProcessSignal​(SignalArgs a) throws org.apache.thrift.TException
      Throws:
      org.apache.thrift.TException
    • recvProcessSignal

      public SignalResult recvProcessSignal() throws org.apache.thrift.TException
      Throws:
      org.apache.thrift.TException
    • processCall

      public CallResult processCall​(CallArgs a) throws org.apache.thrift.TException
      Description copied from interface: ProcessorSrv.Iface
      Обработать внешний вызов и сформировать ответ на него.
      Specified by:
      processCall in interface ProcessorSrv.Iface
      Throws:
      org.apache.thrift.TException
    • sendProcessCall

      public void sendProcessCall​(CallArgs a) throws org.apache.thrift.TException
      Throws:
      org.apache.thrift.TException
    • recvProcessCall

      public CallResult recvProcessCall() throws org.apache.thrift.TException
      Throws:
      org.apache.thrift.TException
    • processRepair

      public RepairResult processRepair​(RepairArgs a) throws RepairFailed, org.apache.thrift.TException
      Description copied from interface: ProcessorSrv.Iface
      Обработать запрос на починку и сформировать ответ на него.
      Specified by:
      processRepair in interface ProcessorSrv.Iface
      Throws:
      RepairFailed
      org.apache.thrift.TException
    • sendProcessRepair

      public void sendProcessRepair​(RepairArgs a) throws org.apache.thrift.TException
      Throws:
      org.apache.thrift.TException
    • recvProcessRepair

      public RepairResult recvProcessRepair() throws RepairFailed, org.apache.thrift.TException
      Throws:
      RepairFailed
      org.apache.thrift.TException