Package io.axoniq.axonserver.grpc.event
Class EventSchedulerGrpc.EventSchedulerStub
- java.lang.Object
-
- io.grpc.stub.AbstractStub<S>
-
- io.grpc.stub.AbstractAsyncStub<EventSchedulerGrpc.EventSchedulerStub>
-
- io.axoniq.axonserver.grpc.event.EventSchedulerGrpc.EventSchedulerStub
-
- Enclosing class:
- EventSchedulerGrpc
public static final class EventSchedulerGrpc.EventSchedulerStub extends io.grpc.stub.AbstractAsyncStub<EventSchedulerGrpc.EventSchedulerStub>
A stub to allow clients to do asynchronous rpc calls to service EventScheduler.Service to use AxonServer as a provider of an EventScheduler
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected EventSchedulerGrpc.EventSchedulerStubbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions)voidcancelScheduledEvent(CancelScheduledEventRequest request, io.grpc.stub.StreamObserver<InstructionAck> responseObserver)Cancel the publication of a scheduled event.voidrescheduleEvent(RescheduleEventRequest request, io.grpc.stub.StreamObserver<ScheduleToken> responseObserver)Cancel a scheduled event and schedule another in its place.voidscheduleEvent(ScheduleEventRequest request, io.grpc.stub.StreamObserver<ScheduleToken> responseObserver)Schedule the given event for publication at the given time}.-
Methods inherited from class io.grpc.stub.AbstractStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOnReadyThreshold, withOption, withWaitForReady
-
-
-
-
Method Detail
-
build
protected EventSchedulerGrpc.EventSchedulerStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
- Specified by:
buildin classio.grpc.stub.AbstractStub<EventSchedulerGrpc.EventSchedulerStub>
-
scheduleEvent
public void scheduleEvent(ScheduleEventRequest request, io.grpc.stub.StreamObserver<ScheduleToken> responseObserver)
Schedule the given event for publication at the given time}. The returned ScheduleToken can be used to cancel the planned publication.
-
rescheduleEvent
public void rescheduleEvent(RescheduleEventRequest request, io.grpc.stub.StreamObserver<ScheduleToken> responseObserver)
Cancel a scheduled event and schedule another in its place.
-
cancelScheduledEvent
public void cancelScheduledEvent(CancelScheduledEventRequest request, io.grpc.stub.StreamObserver<InstructionAck> responseObserver)
Cancel the publication of a scheduled event. If the events has already been published, this method does nothing.
-
-