Пример #1
0
 public LoginSession(GameServer server, Channel channel) {
   super(server, channel);
   this.service = server.getLoginService();
   init();
 }
Пример #2
0
 /**
  * Shortcut method to get the GameServer instance of this dispatcher.
  *
  * @return the GameServer instance of the ButtonDispatcher
  */
 public static ButtonDispatcher getInstance() {
   return GameServer.getInstance().getMessageDispatcher().getButtonDispatcher();
 }