Class ModuleServiceGrpc.ModuleServiceFutureStub

  • All Implemented Interfaces:

    
    public final class ModuleServiceGrpc.ModuleServiceFutureStub
    extends AbstractFutureStub<S>
                        

    A stub to allow clients to do ListenableFuture-style rpc calls to service ModuleService.

    ModuleService is the service that modules use to interact with the Controller.
    
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
      public final Channel channel
      public final CallOptions callOptions
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      ListenableFuture<PingResponse> ping(PingRequest request)
      Ping service for readiness.
      
      ListenableFuture<PublishEventResponse> publishEvent(PublishEventRequest request)
      Publish an event to a topic.
      
      • Methods inherited from class io.grpc.stub.AbstractStub

        getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOnReadyThreshold, withOption, withWaitForReady
      • Methods inherited from class io.grpc.stub.AbstractFutureStub

        newStub
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait