Package appeng.api.storage

Examples of appeng.api.storage.ICellContainer


  @Override
  public void removeNode(IGridNode node, IGridHost machine)
  {
    if ( machine instanceof ICellContainer )
    {
      ICellContainer cc = (ICellContainer) machine;

      myGrid.postEvent( new MENetworkCellArrayUpdate() );
      removeCellProvider( cc, new CellChangeTracker() ).applyChanges();
      inactiveCellProviders.remove( cc );
    }
View Full Code Here


  @Override
  public void addNode(IGridNode node, IGridHost machine)
  {
    if ( machine instanceof ICellContainer )
    {
      ICellContainer cc = (ICellContainer) machine;
      inactiveCellProviders.add( cc );

      myGrid.postEvent( new MENetworkCellArrayUpdate() );
      if ( node.isActive() )
        addCellProvider( cc, new CellChangeTracker() ).applyChanges();
View Full Code Here

TOP

Related Classes of appeng.api.storage.ICellContainer

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.