Examples of bind()


Examples of com.badlogic.gdx.graphics.Texture.bind()

        if (lastBind != null && lastBind != texture) {
          GL11.glEnd();
          lastBind = null;
        }
        if (lastBind == null) {
          texture.bind();
          GL11.glBegin(GL11.GL_QUADS);
          lastBind = texture;
        }
        int glyphX = bounds.x + extraX;
        int glyphY = bounds.y + extraY;
View Full Code Here

Examples of com.barchart.udt.SocketUDT.bind()

    log.info("STARTED");

    final SocketUDT acceptorSocket = new SocketUDT(TypeUDT.STREAM);

    acceptorSocket.bind(serverAddress);
    assertTrue("Acceptor should be bound", acceptorSocket.isBound());

    acceptorSocket.listen(1);
    assertEquals("Acceptor should be listenin", acceptorSocket.getStatus(),
        StatusUDT.LISTENING);
View Full Code Here

Examples of com.barchart.udt.net.NetServerSocketUDT.bind()

    if (args.length == 1) {
      port = Integer.parseInt(args[0]);
    }

    final NetServerSocketUDT acceptorSocket = new NetServerSocketUDT();
    acceptorSocket.bind(new InetSocketAddress("0.0.0.0", port), 256);

    System.out.printf("server is ready at port: %d\n", port);

    while (true) {
View Full Code Here

Examples of com.bergerkiller.bukkit.common.controller.DefaultEntityController.bind()

  public EntityController<CommonEntity<T>> getController() {
    if (isHooked()) {
      return (EntityController<CommonEntity<T>>) getHandle(NMSEntityHook.class).getController();
    }
    final EntityController controller = new DefaultEntityController();
    controller.bind(this);
    return controller;
  }

  /**
   * Checks whether this particular Entity supports the use of Entity Controllers.
View Full Code Here

Examples of com.bergerkiller.bukkit.common.controller.DefaultEntityInventoryController.bind()

  public EntityInventoryController<CommonEntity<T>> getInventoryController() {
    if (isHooked()) {
      return (EntityInventoryController<CommonEntity<T>>) getHandle(NMSEntityInventoryHook.class).getInventoryController();
    }
    final EntityInventoryController controller = new DefaultEntityInventoryController();
    controller.bind(this);
    return controller;
  }
}
View Full Code Here

Examples of com.bergerkiller.bukkit.common.controller.EntityController.bind()

  public EntityController<CommonEntity<T>> getController() {
    if (isHooked()) {
      return (EntityController<CommonEntity<T>>) getHandle(NMSEntityHook.class).getController();
    }
    final EntityController controller = new DefaultEntityController();
    controller.bind(this);
    return controller;
  }

  /**
   * Checks whether this particular Entity supports the use of Entity Controllers.
View Full Code Here

Examples of com.bergerkiller.bukkit.common.controller.EntityInventoryController.bind()

  public EntityInventoryController<CommonEntity<T>> getInventoryController() {
    if (isHooked()) {
      return (EntityInventoryController<CommonEntity<T>>) getHandle(NMSEntityInventoryHook.class).getInventoryController();
    }
    final EntityInventoryController controller = new DefaultEntityInventoryController();
    controller.bind(this);
    return controller;
  }
}
View Full Code Here

Examples of com.bergerkiller.bukkit.common.controller.EntityNetworkController.bind()

      return null;
    } else if (entityTrackerEntry instanceof NMSEntityTrackerEntry) {
      result = ((NMSEntityTrackerEntry) entityTrackerEntry).getController();
    } else if (EntityTrackerEntry.class.equals(entityTrackerEntry.getClass())) {
      result = new DefaultEntityNetworkController();
      result.bind(this, entityTrackerEntry);
    } else {
      result = new ExternalEntityNetworkController();
      result.bind(this, entityTrackerEntry);
    }
    return result;
View Full Code Here

Examples of com.caucho.cloud.network.NetworkListenSystem.bind()

      NetworkListenSystem listenService
        = _resinSystem.getService(NetworkListenSystem.class);

      if (_args != null) {
        for (BoundPort port : _args.getBoundPortList()) {
          listenService.bind(port.getAddress(),
                             port.getPort(),
                             port.getServerSocket());
        }
      }
     
View Full Code Here

Examples of com.caucho.network.listen.SocketLinkListener.bind()

      SocketLinkListener port = _clusterPort;

      if (port != null && port.getPort() != 0) {
        log.info("");
        port.bind();
        port.start();
        log.info("");
      }
    } finally {
      thread.setContextClassLoader(oldLoader);
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.