Package appeng.api.networking.storage
Interface IStorageWatcherNode
- All Superinterfaces:
 IGridNodeService
A node that is notified of changes to the currently stored items in the network. Implementors should store the
 watcher passed to 
updateWatcher(appeng.api.networking.IStackWatcher) and use it to configure the watched stacks.- 
Method Summary
Modifier and TypeMethodDescriptionvoidonStackChange(AEKey what, long amount) Called when a watched item changes amounts.voidupdateWatcher(IStackWatcher newWatcher) provides the watcher for this host, for the current network, is called when the hot changes networks. 
- 
Method Details
- 
updateWatcher
provides the watcher for this host, for the current network, is called when the hot changes networks. You do not need to clear your old watcher, its already been removed by the time this gets called.- Parameters:
 newWatcher- stack watcher
 - 
onStackChange
Called when a watched item changes amounts.- Parameters:
 what- What has changedamount- New amount in the network
 
 -