public interface ICraftingRequester extends IActionHost
Modifier and Type | Method and Description |
---|---|
com.google.common.collect.ImmutableSet<ICraftingLink> |
getRequestedJobs()
called when the host is added to the grid, and should return all crafting links it poses so they can be connected
with the cpu that hosts the job.
|
IAEItemStack |
injectCraftedItems(ICraftingLink link,
IAEItemStack items,
Actionable mode)
items are injected into the requester as they are completed, any items that cannot be taken, or are unwanted can
be returned.
|
void |
jobStateChange(ICraftingLink link)
called when the job changes from in progress, to either complete, or canceled.
|
getActionableNode
getCableConnectionType, getGridNode, securityBreak
com.google.common.collect.ImmutableSet<ICraftingLink> getRequestedJobs()
IAEItemStack injectCraftedItems(ICraftingLink link, IAEItemStack items, Actionable mode)
items
- itemmode
- action modevoid jobStateChange(ICraftingLink link)
after this call the crafting link is "dead" and should be discarded.