blob: edf4e69dde3e1a0ba55c59c32926a8f9e5e41545 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
|
/* */ 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
*/
|