Closed stonier closed 10 years ago
Yes, the scheduler callback passes a specific resource to the grant()
method.
The requester feedback callback should recognize the GRANTED status and use the msg.resources
supplied for that Request.
Practically, I just update the resource's platform info?
I think so, yes.
I suppose the remappings could also change, but I am not sure about that.
Remappings don't need to change - though might have to pass back unique concert client name. Can easily add that to the resources, or substitute the name part of the concert client's base platform info string for the concert client name.
How should the callback (which receives a RequestSet) operate when it allocates a client to a resource request?
Is it via the grant() call replacing the original resources entry with a new set of resources with exact platform information?