Examples of OnlineStatus


Examples of de.mud.jta.event.OnlineStatus

    } catch (Exception e) {
      error = "Sorry, Could not connect to: "+host+" "+port + "\r\n" +
              "Reason: " + e + "\r\n\r\n";
      error("can't connect: " + e);
    }
    bus.broadcast(new OnlineStatus(true));
  }
View Full Code Here

Examples of de.mud.jta.event.OnlineStatus

  }

  /** Disconnect the socket and close the connection. */
  public void disconnect() throws IOException {
    if (debug > 0) error("disconnect()");
    bus.broadcast(new OnlineStatus(false));
    if (socket != null) {
      socket.close();
      in = null;
      out = null;
    }
View Full Code Here

Examples of de.mud.jta.event.OnlineStatus

  // XXX Add try around here to catch missing DLL/.so.
  pty = new HandlerPTY();

        if(pty.start(shellCommand) == 0) {
    bus.broadcast(new OnlineStatus(true));
        } else {
    bus.broadcast(new OnlineStatus(false));
        }
      }
      public void disconnect() {
        bus.broadcast(new OnlineStatus(false));
        pty = null;
      }
    });
  }
View Full Code Here

Examples of lineage2.gameserver.network.loginservercon.gspackets.OnlineStatus

   */
  @Override
  protected void runImpl()
  {
    _log.info("Registered on loginserver as " + _serverId + " [" + _serverName + "]");
    sendPacket(new OnlineStatus(true));
    String[] accounts = LoginServerCommunication.getInstance().getAccounts();
    for (String account : accounts)
    {
      sendPacket(new PlayerInGame(account));
    }
View Full Code Here

Examples of lineage2.loginserver.gameservercon.gspackets.OnlineStatus

    else
    {
      switch (id)
      {
        case 0x01:
          packet = new OnlineStatus();
          break;
        case 0x02:
          packet = new PlayerAuthRequest();
          break;
        case 0x03:
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.