Class AutomatonSrv.AsyncClient

java.lang.Object
org.apache.thrift.async.TAsyncClient
dev.vality.machinegun.stateproc.AutomatonSrv.AsyncClient
All Implemented Interfaces:
AutomatonSrv.AsyncIface
Enclosing class:
AutomatonSrv

public static class AutomatonSrv.AsyncClient
extends org.apache.thrift.async.TAsyncClient
implements AutomatonSrv.AsyncIface
  • 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

    • start

      public void start​(String ns, String id, Value a, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler) throws org.apache.thrift.TException
      Specified by:
      start in interface AutomatonSrv.AsyncIface
      Throws:
      org.apache.thrift.TException
    • repair

      public void repair​(MachineDescriptor desc, Value a, org.apache.thrift.async.AsyncMethodCallback<Value> resultHandler) throws org.apache.thrift.TException
      Specified by:
      repair in interface AutomatonSrv.AsyncIface
      Throws:
      org.apache.thrift.TException
    • simpleRepair

      public void simpleRepair​(String ns, Reference ref, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler) throws org.apache.thrift.TException
      Specified by:
      simpleRepair in interface AutomatonSrv.AsyncIface
      Throws:
      org.apache.thrift.TException
    • call

      public void call​(MachineDescriptor desc, Value a, org.apache.thrift.async.AsyncMethodCallback<Value> resultHandler) throws org.apache.thrift.TException
      Specified by:
      call in interface AutomatonSrv.AsyncIface
      Throws:
      org.apache.thrift.TException
    • getMachine

      public void getMachine​(MachineDescriptor desc, org.apache.thrift.async.AsyncMethodCallback<Machine> resultHandler) throws org.apache.thrift.TException
      Specified by:
      getMachine in interface AutomatonSrv.AsyncIface
      Throws:
      org.apache.thrift.TException
    • remove

      public void remove​(String ns, String id, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler) throws org.apache.thrift.TException
      Specified by:
      remove in interface AutomatonSrv.AsyncIface
      Throws:
      org.apache.thrift.TException
    • modernize

      public void modernize​(MachineDescriptor desc, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler) throws org.apache.thrift.TException
      Specified by:
      modernize in interface AutomatonSrv.AsyncIface
      Throws:
      org.apache.thrift.TException