Examples of forceDisconnect()


Examples of logisticspipes.proxy.buildcraft.subproxies.IConnectionOverrideResult.forceDisconnect()

      return false;

    if(SimpleServiceLocator.ccProxy.isTurtle(with) && !turtleConnect[OrientationsUtil.getOrientationOfTilewithTile(this, with).ordinal()]) return false;

    IConnectionOverrideResult result = SimpleServiceLocator.buildCraftProxy.checkConnectionOverride(with, side, this);
    if(result.forceDisconnect()) return false;
    if(result.forceConnect()) return true;

    if(!SimpleServiceLocator.buildCraftProxy.checkForPipeConnection(with, side, this)) return false;
    if(with instanceof LogisticsTileGenericPipe) {
      if(((LogisticsTileGenericPipe)with).tilePart.hasBlockingPluggable(side.getOpposite())) {
View Full Code Here

Examples of org.terasology.network.NetworkSystem.forceDisconnect()

            EntityRef clientInfo = clientEntity.getComponent(ClientComponent.class).clientInfo;
            DisplayNameComponent name = clientInfo.getComponent(DisplayNameComponent.class);

            logger.info("Kicking user {}", name.name);

            network.forceDisconnect(client);
            return "User kick triggered for '" + name.name + "'";
        }
       
        return "Request declined";
    }
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.