Skip to content

Commit

Permalink
Add api to request job using precompiled event
Browse files Browse the repository at this point in the history
  • Loading branch information
riccardobl committed May 10, 2024
1 parent a445a83 commit f318c2e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions proto/rpc.proto
Original file line number Diff line number Diff line change
Expand Up @@ -282,10 +282,16 @@ message RpcDiscoverNearbyActionsResponse {
repeated string actions = 1;
}

message RpcJobRequest {
string event=1;
optional string provider=2;
optional bool encrypted=3;
}

service PoolConnector {
// job management
rpc requestJob (RpcRequestJob) returns (Job);
rpc sendJobRequest(RpcJobRequest) returns (Job);
rpc getJob (RpcGetJob) returns (Job);
rpc getPendingJobs (RpcGetPendingJobs) returns (PendingJobs);
rpc isJobDone (RpcGetJob) returns (RpcIsJobDone);
Expand Down

0 comments on commit f318c2e

Please sign in to comment.