Register
Description
Receives and processes the registration request from the client and initializes the functions such as fault information subscription.
Prototype
rpc Register(ClientInfo) returns (Status) {}
Input Parameters
Parameter |
Type (Defined by Protobuf) |
Description |
|---|---|---|
ClientInfo |
message ClientInfo{ string jobId = 1; string role = 2; } |
ClientInfo.jobId: job ID ClientInfo.role: client role NOTE:
|
Return Value
Return Value |
Type (Defined by Protobuf) |
Description |
|---|---|---|
Status |
message Status{ int32 code = 1; string info =2; } |
Status.code: return code
Status.info: return information |
Parent topic: Fault Service APIs