Examples of ServerList


Examples of io.fathom.cloud.compute.api.os.model.ServerList

        List<InstanceData> instances = computeServices.listInstances(auth, filterProject);

        Map<Long, ReservationData> reservations = Maps.newHashMap();

        ServerList response = new ServerList();
        response.servers = Lists.newArrayList();
        for (InstanceData instance : instances) {
            ReservationData reservation = reservations.get(instance.getReservationId());
            if (reservation == null) {
                reservation = getReservation(instance.getReservationId());
View Full Code Here

Examples of l2p.loginserver.serverpackets.ServerList

  @Override
  public void runImpl()
  {
    if(getClient().getSessionKey().checkLoginPair(_skey1, _skey2))
    {
      getClient().sendPacket(new ServerList(getClient(), false));
    }
    else
    {
      getClient().close(LoginFailReason.REASON_ACCESS_FAILED);
    }
View Full Code Here

Examples of l2p.loginserver.serverpackets.ServerList

    }
    else if(status.state == State.WRONG)
    {
      if(Config.LoginProtectBrute)
      {
        client.sendPacket(new ServerList(client, true));
      }
      else
      {
        client.close(LoginFailReason.REASON_USER_OR_PASS_WRONG);
      }
View Full Code Here

Examples of lineage2.loginserver.serverpackets.ServerList

    if ((skey == null) || !skey.checkLoginPair(_loginOkID1, _loginOkID2))
    {
      client.close(LoginFailReason.REASON_ACCESS_FAILED);
      return;
    }
    client.sendPacket(new ServerList(client.getAccount()));
  }
View Full Code Here

Examples of net.sf.l2j.loginserver.serverpackets.ServerList

  @Override
  public void run()
  {
    if (getClient().getSessionKey().checkLoginPair(_skey1, _skey2))
    {
      getClient().sendPacket(new ServerList(getClient()));
    }
    else
    {
      getClient().close(LoginFailReason.REASON_ACCESS_FAILED);
    }
View Full Code Here

Examples of net.sf.l2j.loginserver.serverpackets.ServerList

        {
          client.sendPacket(new LoginOk(getClient().getSessionKey()));
        }
        else
        {
          getClient().sendPacket(new ServerList(getClient()));
        }
        break;
      case INVALID_PASSWORD:
        client.close(LoginFailReason.REASON_USER_OR_PASS_WRONG);
        break;
View Full Code Here

Examples of org.earth3d.jearth.model.ServerList

  protected ServiceList serviceList;
  protected int downloadedAddresses;
  protected int downloadedServices;
 
  public void testServerList() throws Exception {
    sl = new ServerList();
    sl.addListener(new DownloadFinishedListener() {
   
      public void downloadFinished(DownloadFinishedData dfd) {
        List<URL> addresses = sl.getAddresses();
        for (URL addr : addresses) {
View Full Code Here

Examples of org.earth3d.jearth.model.ServerList

   */
  protected void loadInternalPlugins(ExtensionManager em, GeoDataModel gdm, Configuration conf) {
    // load data model
    ServiceList serviceList = null;
    try {
      ServerList serverList = gdm.loadServerList("http://www.earth3d.org/earth3daddresses.xml");
      serviceList = gdm.loadServiceList(serverList.getAddresses().get(1));
    } catch (MalformedURLException e) {
      e.printStackTrace();
    }
   
    // add controller
View Full Code Here

Examples of org.restlet.util.ServerList

     */
    public Component() {
        super();
        this.hosts = new CopyOnWriteArrayList<VirtualHost>();
        this.clients = new ClientList(null);
        this.servers = new ServerList(null, this);
        this.realms = new CopyOnWriteArrayList<Realm>();
        this.services = new ServiceList(getContext());

        if (Engine.getInstance() != null) {
            this.helper = new ComponentHelper(this);
View Full Code Here

Examples of org.restlet.util.ServerList

    }

    public void testServer() throws Exception {
        System.out.println("-- testServerParams()");

        ServerList servers = c.getServers();
        assertNotNull("Server list MUST NOT be null", servers);
        assertEquals("Server list MUST contain 1 item", 1, servers.size());
        Server server = servers.get(0);
        assertNotNull("The single Server MUST NOT be null", server);

        assertEquals(server.getName(), RESTLET_NAME);
        assertEquals(server.getDescription(), RESTLET_DESCRIPTION);
    }
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.