Trait sda_protocol::SdaClerkingService
[−]
[src]
pub trait SdaClerkingService: SdaBaseService { fn get_clerking_job(&self,
caller: &Agent,
clerk: &AgentId)
-> SdaResult<Option<ClerkingJob>>; fn create_clerking_result(&self,
caller: &Agent,
result: &ClerkingResult)
-> SdaResult<()>; }
Methods used for clerking in particular.
Required Methods
fn get_clerking_job(&self,
caller: &Agent,
clerk: &AgentId)
-> SdaResult<Option<ClerkingJob>>
caller: &Agent,
clerk: &AgentId)
-> SdaResult<Option<ClerkingJob>>
Pull any job waiting to be performed by the speficied clerk.
fn create_clerking_result(&self,
caller: &Agent,
result: &ClerkingResult)
-> SdaResult<()>
caller: &Agent,
result: &ClerkingResult)
-> SdaResult<()>
Push the result of a finished job.