// Parse options.
final String host = args[0];
final short port = Short.parseShort(args[1]);
InternalLoggerFactory.setDefaultFactory(new Slf4JLoggerFactory());
GameHandlerManager.getInstance().initHandlers(100);
try {
GameHandlerManager.getInstance().register(LoginHandler.class, (short) 20);
GameHandlerManager.getInstance().register(DisconnectedHandler.class, (short)0);