public static interface AutopilotGrpc.AsyncService
Autopilot is a service that can be used to get information about the current state of the daemon's autopilot agent, and also supply it with information that can be used when deciding where to open channels.
Modifier and Type | Method and Description |
---|---|
default void |
modifyStatus(AutopilotOuterClass.ModifyStatusRequest request,
io.grpc.stub.StreamObserver<AutopilotOuterClass.ModifyStatusResponse> responseObserver)
ModifyStatus is used to modify the status of the autopilot agent, like
enabling or disabling it.
|
default void |
queryScores(AutopilotOuterClass.QueryScoresRequest request,
io.grpc.stub.StreamObserver<AutopilotOuterClass.QueryScoresResponse> responseObserver)
QueryScores queries all available autopilot heuristics, in addition to any
active combination of these heruristics, for the scores they would give to
the given nodes.
|
default void |
setScores(AutopilotOuterClass.SetScoresRequest request,
io.grpc.stub.StreamObserver<AutopilotOuterClass.SetScoresResponse> responseObserver)
SetScores attempts to set the scores used by the running autopilot agent,
if the external scoring heuristic is enabled.
|
default void |
status(AutopilotOuterClass.StatusRequest request,
io.grpc.stub.StreamObserver<AutopilotOuterClass.StatusResponse> responseObserver)
Status returns whether the daemon's autopilot agent is active.
|
default void status(AutopilotOuterClass.StatusRequest request, io.grpc.stub.StreamObserver<AutopilotOuterClass.StatusResponse> responseObserver)
Status returns whether the daemon's autopilot agent is active.
default void modifyStatus(AutopilotOuterClass.ModifyStatusRequest request, io.grpc.stub.StreamObserver<AutopilotOuterClass.ModifyStatusResponse> responseObserver)
ModifyStatus is used to modify the status of the autopilot agent, like enabling or disabling it.
default void queryScores(AutopilotOuterClass.QueryScoresRequest request, io.grpc.stub.StreamObserver<AutopilotOuterClass.QueryScoresResponse> responseObserver)
QueryScores queries all available autopilot heuristics, in addition to any active combination of these heruristics, for the scores they would give to the given nodes.
default void setScores(AutopilotOuterClass.SetScoresRequest request, io.grpc.stub.StreamObserver<AutopilotOuterClass.SetScoresResponse> responseObserver)
SetScores attempts to set the scores used by the running autopilot agent, if the external scoring heuristic is enabled.