public class ManagerAgentService extends ManagerAgentServiceGrpc.ManagerAgentServiceImplBase
Modifier and Type | Field and Description |
---|---|
static org.slf4j.Logger |
LOG |
Constructor and Description |
---|
ManagerAgentService(ManagerProcessContext ctx)
Creates an instance of the RPC handler for agent requests.
|
Modifier and Type | Method and Description |
---|---|
void |
agentHeartbeat(AgentHeartbeatRequest request,
io.grpc.stub.StreamObserver<AgentHeartbeatResponse> responseObserver)
A running agent will send a heartbeat message to the manager on an interval timer
|
void |
registerAgent(RegisterAgentRequest request,
io.grpc.stub.StreamObserver<RegisterAgentResponse> responseObserver)
A running agent will attempt to register with the manager on startup
|
bindService
public ManagerAgentService(ManagerProcessContext ctx)
ctx
- the process contextpublic void registerAgent(RegisterAgentRequest request, io.grpc.stub.StreamObserver<RegisterAgentResponse> responseObserver)
ManagerAgentServiceGrpc.ManagerAgentServiceImplBase
A running agent will attempt to register with the manager on startup
registerAgent
in class ManagerAgentServiceGrpc.ManagerAgentServiceImplBase
public void agentHeartbeat(AgentHeartbeatRequest request, io.grpc.stub.StreamObserver<AgentHeartbeatResponse> responseObserver)
ManagerAgentServiceGrpc.ManagerAgentServiceImplBase
A running agent will send a heartbeat message to the manager on an interval timer
agentHeartbeat
in class ManagerAgentServiceGrpc.ManagerAgentServiceImplBase
Copyright © 2023. All Rights Reserved.