Class 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 Detail

      • 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.