public class MENetworkPowerStorage extends MENetworkEvent
IAEPowerStorage
block that had either run,
out of power, or was full, is no longer in that state.
failure to post this event when your IAEPowerStorage
changes state will
result in your block not charging, or not-discharging.
you do not need to send this event when your node is added / removed from the grid.
Modifier and Type | Class and Description |
---|---|
static class |
MENetworkPowerStorage.PowerEventType |
Modifier and Type | Field and Description |
---|---|
IAEPowerStorage |
storage |
MENetworkPowerStorage.PowerEventType |
type |
Constructor and Description |
---|
MENetworkPowerStorage(IAEPowerStorage t,
MENetworkPowerStorage.PowerEventType y) |
cancel, getVisitedObjects, isCanceled, setVisitedObjects
public final IAEPowerStorage storage
public final MENetworkPowerStorage.PowerEventType type
public MENetworkPowerStorage(IAEPowerStorage t, MENetworkPowerStorage.PowerEventType y)