/* */ package NET.worlds.network; /* */ /* */ import java.io.PrintStream; /* */ /* */ /* */ /* */ /* */ /* */ /* */ /* */ /* */ /* */ /* */ /* */ /* */ /* */ /* */ /* */ /* */ /* */ /* */ /* */ /* */ /* */ /* */ /* */ /* */ /* */ /* */ /* */ /* */ /* */ /* */ /* */ public class sessionExitCmd /* */ extends propCmd /* */ { /* */ public static final byte SESSIONEXITCMD = 7; /* */ /* */ public sessionExitCmd() /* */ { /* 42 */ this._commandType = 7; /* */ } /* */ /* */ public sessionExitCmd(OldPropertyList propList) { /* 46 */ this._commandType = 7; /* 47 */ this._propList = propList; /* */ } /* */ /* */ void process(WorldServer serv) throws Exception /* */ { /* 52 */ assert (serv.getState() == 16); /* 53 */ netProperty _error = this._propList.elementAt(0); /* */ try { /* 55 */ int errorval = Integer.parseInt(_error.value()); /* 56 */ if (errorval != 0) /* 57 */ throw new VarErrorException(errorval); /* */ } catch (NumberFormatException e) { /* 59 */ System.err.println("appInitCmd: couldn't parse VAR_ERROR = " + /* 60 */ _error.value()); /* */ /* 62 */ serv.setState(17); /* */ } /* */ } /* */ /* */ public String toString(WorldServer serv) /* */ { /* 68 */ return "SESSEXIT " + this._propList; /* */ } /* */ } /* Location: C:\Program Files (x86)\Worlds Inc\WorldsPlayer - Win7\lib\worlds.jar!\NET\worlds\network\sessionExitCmd.class * Java compiler version: 6 (50.0) * JD-Core Version: 0.7.1 */