Package xyz.block.ftl.v1
Interface ModuleServiceGrpc.AsyncService
-
- All Implemented Interfaces:
public interface ModuleServiceGrpc.AsyncServiceModuleService is the service that modules use to interact with the Controller.
-
-
Method Summary
Modifier and Type Method Description voidping(PingRequest request, StreamObserver<PingResponse> responseObserver)Ping service for readiness.voidgetModuleContext(ModuleContextRequest request, StreamObserver<ModuleContextResponse> responseObserver)Get configuration state for the moduleStreamObserver<AcquireLeaseRequest>acquireLease(StreamObserver<AcquireLeaseResponse> responseObserver)Acquire (and renew) a lease for a deployment. Returns ResourceExhausted if the lease is held.voidsendFSMEvent(SendFSMEventRequest request, StreamObserver<SendFSMEventResponse> responseObserver)Send an event to an FSM.voidsetNextFSMEvent(SendFSMEventRequest request, StreamObserver<SendFSMEventResponse> responseObserver)Set the next event for an FSM.voidpublishEvent(PublishEventRequest request, StreamObserver<PublishEventResponse> responseObserver)Publish an event to a topic.-
-
Method Detail
-
ping
void ping(PingRequest request, StreamObserver<PingResponse> responseObserver)
Ping service for readiness.
-
getModuleContext
void getModuleContext(ModuleContextRequest request, StreamObserver<ModuleContextResponse> responseObserver)
Get configuration state for the module
-
acquireLease
StreamObserver<AcquireLeaseRequest> acquireLease(StreamObserver<AcquireLeaseResponse> responseObserver)
Acquire (and renew) a lease for a deployment. Returns ResourceExhausted if the lease is held.
-
sendFSMEvent
void sendFSMEvent(SendFSMEventRequest request, StreamObserver<SendFSMEventResponse> responseObserver)
Send an event to an FSM.
-
setNextFSMEvent
void setNextFSMEvent(SendFSMEventRequest request, StreamObserver<SendFSMEventResponse> responseObserver)
Set the next event for an FSM.
-
publishEvent
void publishEvent(PublishEventRequest request, StreamObserver<PublishEventResponse> responseObserver)
Publish an event to a topic.
-
-
-
-