summaryrefslogtreecommitdiff
path: root/NET/worlds/console/Netscape.java
blob: f43de44aac9c0ad4d967e5e4cc16f6991099b9b7 (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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
/*     */ package NET.worlds.console;
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */ public class Netscape
/*     */   implements MainCallback, MainTerminalCallback
/*     */ {
/*  19 */   private INetscapeRegistry _registry = null;
/*  20 */   private NSProtocolHandler _protocolHandler = null;
/*     */   
/*     */ 
/*     */ 
/*     */   public Netscape()
/*     */   {
/*  26 */     Main.register(this);
/*     */   }
/*     */   
/*     */   /* Error */
/*     */   public void mainCallback()
/*     */   {
/*     */     // Byte code:
/*     */     //   0: aload_0
/*     */     //   1: invokestatic 33	NET/worlds/console/Main:unregister	(LNET/worlds/console/MainCallback;)V
/*     */     //   4: aload_0
/*     */     //   5: new 36	NET/worlds/console/INetscapeRegistry
/*     */     //   8: dup
/*     */     //   9: invokespecial 38	NET/worlds/console/INetscapeRegistry:<init>	()V
/*     */     //   12: putfield 18	NET/worlds/console/Netscape:_registry	LNET/worlds/console/INetscapeRegistry;
/*     */     //   15: invokestatic 39	NET/worlds/console/ActiveX:getDebugLevel	()I
/*     */     //   18: bipush 16
/*     */     //   20: iand
/*     */     //   21: ifle +11 -> 32
/*     */     //   24: getstatic 45	java/lang/System:out	Ljava/io/PrintStream;
/*     */     //   27: ldc 51
/*     */     //   29: invokevirtual 53	java/io/PrintStream:println	(Ljava/lang/String;)V
/*     */     //   32: aload_0
/*     */     //   33: new 59	NET/worlds/console/NSProtocolHandler
/*     */     //   36: dup
/*     */     //   37: invokespecial 61	NET/worlds/console/NSProtocolHandler:<init>	()V
/*     */     //   40: putfield 20	NET/worlds/console/Netscape:_protocolHandler	LNET/worlds/console/NSProtocolHandler;
/*     */     //   43: aload_0
/*     */     //   44: getfield 20	NET/worlds/console/Netscape:_protocolHandler	LNET/worlds/console/NSProtocolHandler;
/*     */     //   47: invokevirtual 62	NET/worlds/console/NSProtocolHandler:activate	()V
/*     */     //   50: invokestatic 39	NET/worlds/console/ActiveX:getDebugLevel	()I
/*     */     //   53: bipush 16
/*     */     //   55: iand
/*     */     //   56: ifle +11 -> 67
/*     */     //   59: getstatic 45	java/lang/System:out	Ljava/io/PrintStream;
/*     */     //   62: ldc 65
/*     */     //   64: invokevirtual 53	java/io/PrintStream:println	(Ljava/lang/String;)V
/*     */     //   67: aload_0
/*     */     //   68: getfield 20	NET/worlds/console/Netscape:_protocolHandler	LNET/worlds/console/NSProtocolHandler;
/*     */     //   71: invokevirtual 67	NET/worlds/console/NSProtocolHandler:register	()V
/*     */     //   74: aload_0
/*     */     //   75: getfield 18	NET/worlds/console/Netscape:_registry	LNET/worlds/console/INetscapeRegistry;
/*     */     //   78: ldc 69
/*     */     //   80: ldc 71
/*     */     //   82: invokevirtual 73	NET/worlds/console/INetscapeRegistry:RegisterProtocol	(Ljava/lang/String;Ljava/lang/String;)Z
/*     */     //   85: istore_1
/*     */     //   86: invokestatic 39	NET/worlds/console/ActiveX:getDebugLevel	()I
/*     */     //   89: bipush 16
/*     */     //   91: iand
/*     */     //   92: ifle +115 -> 207
/*     */     //   95: getstatic 45	java/lang/System:out	Ljava/io/PrintStream;
/*     */     //   98: ldc 77
/*     */     //   100: invokevirtual 53	java/io/PrintStream:println	(Ljava/lang/String;)V
/*     */     //   103: goto +104 -> 207
/*     */     //   106: astore_1
/*     */     //   107: invokestatic 39	NET/worlds/console/ActiveX:getDebugLevel	()I
/*     */     //   110: bipush 16
/*     */     //   112: iand
/*     */     //   113: ifle +28 -> 141
/*     */     //   116: getstatic 45	java/lang/System:out	Ljava/io/PrintStream;
/*     */     //   119: new 79	java/lang/StringBuilder
/*     */     //   122: dup
/*     */     //   123: ldc 81
/*     */     //   125: invokespecial 83	java/lang/StringBuilder:<init>	(Ljava/lang/String;)V
/*     */     //   128: aload_1
/*     */     //   129: invokevirtual 85	java/io/IOException:getMessage	()Ljava/lang/String;
/*     */     //   132: invokevirtual 91	java/lang/StringBuilder:append	(Ljava/lang/String;)Ljava/lang/StringBuilder;
/*     */     //   135: invokevirtual 95	java/lang/StringBuilder:toString	()Ljava/lang/String;
/*     */     //   138: invokevirtual 53	java/io/PrintStream:println	(Ljava/lang/String;)V
/*     */     //   141: aload_0
/*     */     //   142: getfield 18	NET/worlds/console/Netscape:_registry	LNET/worlds/console/INetscapeRegistry;
/*     */     //   145: ifnull +92 -> 237
/*     */     //   148: aload_0
/*     */     //   149: getfield 18	NET/worlds/console/Netscape:_registry	LNET/worlds/console/INetscapeRegistry;
/*     */     //   152: invokevirtual 98	NET/worlds/console/INetscapeRegistry:Release	()V
/*     */     //   155: goto +11 -> 166
/*     */     //   158: astore_3
/*     */     //   159: aload_3
/*     */     //   160: getstatic 45	java/lang/System:out	Ljava/io/PrintStream;
/*     */     //   163: invokevirtual 101	NET/worlds/console/OLEInvalidObjectException:printStackTrace	(Ljava/io/PrintStream;)V
/*     */     //   166: aload_0
/*     */     //   167: aconst_null
/*     */     //   168: putfield 18	NET/worlds/console/Netscape:_registry	LNET/worlds/console/INetscapeRegistry;
/*     */     //   171: goto +66 -> 237
/*     */     //   174: astore_2
/*     */     //   175: aload_0
/*     */     //   176: getfield 18	NET/worlds/console/Netscape:_registry	LNET/worlds/console/INetscapeRegistry;
/*     */     //   179: ifnull +26 -> 205
/*     */     //   182: aload_0
/*     */     //   183: getfield 18	NET/worlds/console/Netscape:_registry	LNET/worlds/console/INetscapeRegistry;
/*     */     //   186: invokevirtual 98	NET/worlds/console/INetscapeRegistry:Release	()V
/*     */     //   189: goto +11 -> 200
/*     */     //   192: astore_3
/*     */     //   193: aload_3
/*     */     //   194: getstatic 45	java/lang/System:out	Ljava/io/PrintStream;
/*     */     //   197: invokevirtual 101	NET/worlds/console/OLEInvalidObjectException:printStackTrace	(Ljava/io/PrintStream;)V
/*     */     //   200: aload_0
/*     */     //   201: aconst_null
/*     */     //   202: putfield 18	NET/worlds/console/Netscape:_registry	LNET/worlds/console/INetscapeRegistry;
/*     */     //   205: aload_2
/*     */     //   206: athrow
/*     */     //   207: aload_0
/*     */     //   208: getfield 18	NET/worlds/console/Netscape:_registry	LNET/worlds/console/INetscapeRegistry;
/*     */     //   211: ifnull +26 -> 237
/*     */     //   214: aload_0
/*     */     //   215: getfield 18	NET/worlds/console/Netscape:_registry	LNET/worlds/console/INetscapeRegistry;
/*     */     //   218: invokevirtual 98	NET/worlds/console/INetscapeRegistry:Release	()V
/*     */     //   221: goto +11 -> 232
/*     */     //   224: astore_3
/*     */     //   225: aload_3
/*     */     //   226: getstatic 45	java/lang/System:out	Ljava/io/PrintStream;
/*     */     //   229: invokevirtual 101	NET/worlds/console/OLEInvalidObjectException:printStackTrace	(Ljava/io/PrintStream;)V
/*     */     //   232: aload_0
/*     */     //   233: aconst_null
/*     */     //   234: putfield 18	NET/worlds/console/Netscape:_registry	LNET/worlds/console/INetscapeRegistry;
/*     */     //   237: return
/*     */     // Line number table:
/*     */     //   Java source line #30	-> byte code offset #0
/*     */     //   Java source line #50	-> byte code offset #4
/*     */     //   Java source line #54	-> byte code offset #15
/*     */     //   Java source line #55	-> byte code offset #24
/*     */     //   Java source line #59	-> byte code offset #32
/*     */     //   Java source line #60	-> byte code offset #43
/*     */     //   Java source line #62	-> byte code offset #50
/*     */     //   Java source line #63	-> byte code offset #59
/*     */     //   Java source line #67	-> byte code offset #67
/*     */     //   Java source line #72	-> byte code offset #74
/*     */     //   Java source line #73	-> byte code offset #80
/*     */     //   Java source line #72	-> byte code offset #82
/*     */     //   Java source line #78	-> byte code offset #86
/*     */     //   Java source line #79	-> byte code offset #95
/*     */     //   Java source line #80	-> byte code offset #98
/*     */     //   Java source line #82	-> byte code offset #103
/*     */     //   Java source line #84	-> byte code offset #107
/*     */     //   Java source line #85	-> byte code offset #116
/*     */     //   Java source line #86	-> byte code offset #128
/*     */     //   Java source line #85	-> byte code offset #138
/*     */     //   Java source line #89	-> byte code offset #141
/*     */     //   Java source line #94	-> byte code offset #148
/*     */     //   Java source line #95	-> byte code offset #155
/*     */     //   Java source line #97	-> byte code offset #159
/*     */     //   Java source line #99	-> byte code offset #166
/*     */     //   Java source line #88	-> byte code offset #174
/*     */     //   Java source line #89	-> byte code offset #175
/*     */     //   Java source line #94	-> byte code offset #182
/*     */     //   Java source line #95	-> byte code offset #189
/*     */     //   Java source line #97	-> byte code offset #193
/*     */     //   Java source line #99	-> byte code offset #200
/*     */     //   Java source line #101	-> byte code offset #205
/*     */     //   Java source line #89	-> byte code offset #207
/*     */     //   Java source line #94	-> byte code offset #214
/*     */     //   Java source line #95	-> byte code offset #221
/*     */     //   Java source line #97	-> byte code offset #225
/*     */     //   Java source line #99	-> byte code offset #232
/*     */     //   Java source line #102	-> byte code offset #237
/*     */     // Local variable table:
/*     */     //   start	length	slot	name	signature
/*     */     //   0	238	0	this	Netscape
/*     */     //   85	2	1	reg	boolean
/*     */     //   106	23	1	e	java.io.IOException
/*     */     //   174	32	2	localObject	Object
/*     */     //   158	2	3	e	OLEInvalidObjectException
/*     */     //   192	2	3	e	OLEInvalidObjectException
/*     */     //   224	2	3	e	OLEInvalidObjectException
/*     */     // Exception table:
/*     */     //   from	to	target	type
/*     */     //   4	103	106	java/io/IOException
/*     */     //   148	155	158	NET/worlds/console/OLEInvalidObjectException
/*     */     //   4	141	174	finally
/*     */     //   182	189	192	NET/worlds/console/OLEInvalidObjectException
/*     */     //   214	221	224	NET/worlds/console/OLEInvalidObjectException
/*     */   }
/*     */   
/*     */   public void terminalCallback()
/*     */   {
/* 105 */     Main.unregister(this);
/*     */   }
/*     */ }


/* Location:              C:\Program Files (x86)\Worlds Inc\WorldsPlayer - Win7\lib\worlds.jar!\NET\worlds\console\Netscape.class
 * Java compiler version: 6 (50.0)
 * JD-Core Version:       0.7.1
 */