Init commit of jobs output/error message peek project.
This commit is contained in:
parent
c772d7e601
commit
d2b47e3985
38 changed files with 2267 additions and 21 deletions
|
|
@ -30,6 +30,7 @@ enum OPCode {
|
|||
runtasks @19;
|
||||
setpreason @20;
|
||||
clrpreason @21;
|
||||
fetchfile @22;
|
||||
}
|
||||
|
||||
struct PeerInfo $C.mapname("xce_peerinfo_t") {
|
||||
|
|
@ -536,6 +537,7 @@ struct RequestReply $C.mapname("xce_reply_t"){
|
|||
getdata @5: Data;
|
||||
jobid @6: UInt64;
|
||||
clusterconf @7: ClusterConf;
|
||||
fetchfilereply @8: FetchFileReply;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -569,6 +571,21 @@ struct ClearPReason $C.mapname("xce_clear_reason_t") {
|
|||
jobs @0: List(UInt64) $C.mapname("jobs") $C.maplistcount("njobs");
|
||||
}
|
||||
|
||||
struct FetchFileMsg $C.mapname("xce_fetchfile_t") {
|
||||
jobid @0: UInt64 $C.mapname("jobid");
|
||||
filepath @1: Text $C.mapname("filepath");
|
||||
offset @2: UInt64 $C.mapname("offset");
|
||||
maxBytes @3: UInt32 $C.mapname("max_bytes");
|
||||
}
|
||||
|
||||
struct FetchFileReply $C.mapname("xce_fetchfile_reply_t") {
|
||||
error @0: Int32 $C.mapname("error");
|
||||
content @1: List(UInt8) $C.mapname("content") $C.maplistcount("bytes_read");
|
||||
fileSize @2: UInt64 $C.mapname("file_size");
|
||||
bytesRead @3: UInt32 $C.mapname("bytes_read");
|
||||
jobid @4: UInt64 $C.mapname("jobid");
|
||||
}
|
||||
|
||||
struct Request $C.mapname("xce_request_t"){
|
||||
opcode @0: OPCode;
|
||||
seq @1: UInt64;
|
||||
|
|
@ -593,6 +610,7 @@ struct Request $C.mapname("xce_request_t"){
|
|||
preasonmsg @19: PendReasonSet;
|
||||
clrpreasonmsg @20: ClearPReason;
|
||||
hostctrlmsg @21: HostControl;
|
||||
fetchfilemsg @22: FetchFileMsg;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue