Package appeng.api.networking

Examples of appeng.api.networking.IGridConnection.destroy()


          IGridNode os = con.getOtherSide( this );
          if ( os == node )
          {
            // if this connection is no longer valid, destroy it.
            if ( !isValidConnection )
              con.destroy();
          }
          else
          {
            con.destroy();
            // throw new GridException( "invalid state found, encountered connection to phantom block." );
View Full Code Here


            if ( !isValidConnection )
              con.destroy();
          }
          else
          {
            con.destroy();
            // throw new GridException( "invalid state found, encountered connection to phantom block." );
          }
        }
        else if ( isValidConnection )
        {
View Full Code Here

        setGridStorage( null );

      IGridConnection c = Connections.listIterator().next();
      GridNode otherSide = (GridNode) c.getOtherSide( this );
      otherSide.getInternalGrid().pivot = otherSide;
      c.destroy();
    }

    if ( myGrid != null )
      myGrid.remove( this );
  }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.