Class TopicGrpc.TopicStub

java.lang.Object
io.grpc.stub.AbstractStub<TopicGrpc.TopicStub>
io.atomix.api.runtime.topic.v1.TopicGrpc.TopicStub
Enclosing class:
TopicGrpc

public static final class TopicGrpc.TopicStub extends io.grpc.stub.AbstractStub<TopicGrpc.TopicStub>
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    close(CloseRequest request, io.grpc.stub.StreamObserver<CloseResponse> responseObserver)
    Close closes the topic
    void
    create(CreateRequest request, io.grpc.stub.StreamObserver<CreateResponse> responseObserver)
    Create creates the topic
    void
    publish(PublishRequest request, io.grpc.stub.StreamObserver<PublishResponse> responseObserver)
    Publish publishes a message to the topic
    void
    subscribe(SubscribeRequest request, io.grpc.stub.StreamObserver<SubscribeResponse> responseObserver)
    Subscribe subscribes to receive messages from the topic

    Methods inherited from class io.grpc.stub.AbstractStub

    getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOption, withWaitForReady

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • create

      public void create(CreateRequest request, io.grpc.stub.StreamObserver<CreateResponse> responseObserver)
       Create creates the topic
       
    • close

      public void close(CloseRequest request, io.grpc.stub.StreamObserver<CloseResponse> responseObserver)
       Close closes the topic
       
    • publish

      public void publish(PublishRequest request, io.grpc.stub.StreamObserver<PublishResponse> responseObserver)
       Publish publishes a message to the topic
       
    • subscribe

      public void subscribe(SubscribeRequest request, io.grpc.stub.StreamObserver<SubscribeResponse> responseObserver)
       Subscribe subscribes to receive messages from the topic