blob: 60b4eb3a5d53ff8c670ebd63ea2c90740cbdec1a (
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
77
78
79
80
81
|
/* */ package NET.worlds.network;
/* */
/* */ import java.io.PrintStream;
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */ public class appInitCmd
/* */ extends propCmd
/* */ {
/* */ public static final byte APPINITCMD = 8;
/* */
/* */ public appInitCmd()
/* */ {
/* 46 */ this._commandType = 8;
/* */ }
/* */
/* */ public appInitCmd(String s)
/* */ {
/* 51 */ this._commandType = 8;
/* 52 */ this._propList.addProperty(new netProperty(1, s));
/* */ }
/* */
/* */ void process(WorldServer serv) throws Exception
/* */ {
/* 57 */ assert (serv.getState() == 10);
/* 58 */ netProperty _error = this._propList.elementAt(0);
/* */ try {
/* 60 */ int errorval = Integer.parseInt(_error.value());
/* 61 */ if (errorval != 0)
/* 62 */ throw new VarErrorException(errorval);
/* */ } catch (NumberFormatException e) {
/* 64 */ System.err.println("appInitCmd: couldn't parse VAR_ERROR = " +
/* 65 */ _error.value());
/* */
/* 67 */ serv.setState(11);
/* */ }
/* */ }
/* */
/* */ public String toString(WorldServer serv)
/* */ {
/* 73 */ return "APPINIT " + this._propList;
/* */ }
/* */ }
/* Location: C:\Program Files (x86)\Worlds Inc\WorldsPlayer - Win7\lib\worlds.jar!\NET\worlds\network\appInitCmd.class
* Java compiler version: 6 (50.0)
* JD-Core Version: 0.7.1
*/
|