Package io.atomix.api.runtime.topic.v1
Class TopicGrpc.TopicStub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractAsyncStub<TopicGrpc.TopicStub>
io.atomix.api.runtime.topic.v1.TopicGrpc.TopicStub
- Enclosing class:
TopicGrpc
public static final class TopicGrpc.TopicStub
extends io.grpc.stub.AbstractAsyncStub<TopicGrpc.TopicStub>
-
Nested Class Summary
Nested classes/interfaces inherited from class io.grpc.stub.AbstractStub
io.grpc.stub.AbstractStub.StubFactory<T extends io.grpc.stub.AbstractStub<T>> -
Method Summary
Modifier and TypeMethodDescriptionvoidclose(CloseRequest request, io.grpc.stub.StreamObserver<CloseResponse> responseObserver) Close closes the topicvoidcreate(CreateRequest request, io.grpc.stub.StreamObserver<CreateResponse> responseObserver) Create creates the topicvoidpublish(PublishRequest request, io.grpc.stub.StreamObserver<PublishResponse> responseObserver) Publish publishes a message to the topicvoidsubscribe(SubscribeRequest request, io.grpc.stub.StreamObserver<SubscribeResponse> responseObserver) Subscribe subscribes to receive messages from the topicMethods inherited from class io.grpc.stub.AbstractAsyncStub
newStub, newStubMethods inherited from class io.grpc.stub.AbstractStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOption, withWaitForReady
-
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
-