Class DcbEventSchedulerGrpc.DcbEventSchedulerStub
- java.lang.Object
-
- io.grpc.stub.AbstractStub<S>
-
- io.grpc.stub.AbstractAsyncStub<DcbEventSchedulerGrpc.DcbEventSchedulerStub>
-
- io.axoniq.axonserver.grpc.event.dcb.DcbEventSchedulerGrpc.DcbEventSchedulerStub
-
- Enclosing class:
- DcbEventSchedulerGrpc
public static final class DcbEventSchedulerGrpc.DcbEventSchedulerStub extends io.grpc.stub.AbstractAsyncStub<DcbEventSchedulerGrpc.DcbEventSchedulerStub>
A stub to allow clients to do asynchronous rpc calls to service DcbEventScheduler.Service to use AxonServer as a provider of an EventScheduler
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected DcbEventSchedulerGrpc.DcbEventSchedulerStubbuild(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)Reschedule a scheduled event and optionally replace it by a new event.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 DcbEventSchedulerGrpc.DcbEventSchedulerStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
- Specified by:
buildin classio.grpc.stub.AbstractStub<DcbEventSchedulerGrpc.DcbEventSchedulerStub>
-
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 reschedule or cancel the planned publication.
-
rescheduleEvent
public void rescheduleEvent(RescheduleEventRequest request, io.grpc.stub.StreamObserver<ScheduleToken> responseObserver)
Reschedule a scheduled event and optionally replace it by a new event.
-
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.
-
-