KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > hero > interfaces > JOnASBnIteration_928445655Remote_Stub


1 // Stub class generated by rmic, do not edit.
2
// Contents subject to change without notice.
3

4 package hero.interfaces;
5
6 public final class JOnASBnIteration_928445655Remote_Stub
7     extends java.rmi.server.RemoteStub JavaDoc
8     implements hero.interfaces.BnIteration, java.rmi.Remote JavaDoc, javax.ejb.EJBObject JavaDoc
9 {
10     private static final java.rmi.server.Operation JavaDoc[] operations = {
11     new java.rmi.server.Operation JavaDoc("hero.interfaces.BnIterationLightValue getBnIterationLightValue()"),
12     new java.rmi.server.Operation JavaDoc("hero.interfaces.BnIterationValue getBnIterationValue()"),
13     new java.rmi.server.Operation JavaDoc("hero.interfaces.BnProjectLocal getBnProject()"),
14     new java.rmi.server.Operation JavaDoc("java.lang.String getCondition()"),
15     new java.rmi.server.Operation JavaDoc("javax.ejb.EJBHome getEJBHome()"),
16     new java.rmi.server.Operation JavaDoc("java.lang.String getFromNode()"),
17     new java.rmi.server.Operation JavaDoc("javax.ejb.Handle getHandle()"),
18     new java.rmi.server.Operation JavaDoc("java.lang.Object getPrimaryKey()"),
19     new java.rmi.server.Operation JavaDoc("java.lang.String getToNode()"),
20     new java.rmi.server.Operation JavaDoc("boolean isIdentical(javax.ejb.EJBObject)"),
21     new java.rmi.server.Operation JavaDoc("void remove()"),
22     new java.rmi.server.Operation JavaDoc("void setBnIterationLightValue(hero.interfaces.BnIterationLightValue)"),
23     new java.rmi.server.Operation JavaDoc("void setBnIterationValue(hero.interfaces.BnIterationValue)"),
24     new java.rmi.server.Operation JavaDoc("void setCondition(java.lang.String)"),
25     new java.rmi.server.Operation JavaDoc("void setFromNode(java.lang.String)"),
26     new java.rmi.server.Operation JavaDoc("void setToNode(java.lang.String)")
27     };
28     
29     private static final long interfaceHash = 11528895074982448L;
30     
31     private static final long serialVersionUID = 2;
32     
33     private static boolean useNewInvoke;
34     private static java.lang.reflect.Method JavaDoc $method_getBnIterationLightValue_0;
35     private static java.lang.reflect.Method JavaDoc $method_getBnIterationValue_1;
36     private static java.lang.reflect.Method JavaDoc $method_getBnProject_2;
37     private static java.lang.reflect.Method JavaDoc $method_getCondition_3;
38     private static java.lang.reflect.Method JavaDoc $method_getEJBHome_4;
39     private static java.lang.reflect.Method JavaDoc $method_getFromNode_5;
40     private static java.lang.reflect.Method JavaDoc $method_getHandle_6;
41     private static java.lang.reflect.Method JavaDoc $method_getPrimaryKey_7;
42     private static java.lang.reflect.Method JavaDoc $method_getToNode_8;
43     private static java.lang.reflect.Method JavaDoc $method_isIdentical_9;
44     private static java.lang.reflect.Method JavaDoc $method_remove_10;
45     private static java.lang.reflect.Method JavaDoc $method_setBnIterationLightValue_11;
46     private static java.lang.reflect.Method JavaDoc $method_setBnIterationValue_12;
47     private static java.lang.reflect.Method JavaDoc $method_setCondition_13;
48     private static java.lang.reflect.Method JavaDoc $method_setFromNode_14;
49     private static java.lang.reflect.Method JavaDoc $method_setToNode_15;
50     
51     static {
52     try {
53         java.rmi.server.RemoteRef JavaDoc.class.getMethod("invoke",
54         new java.lang.Class JavaDoc[] {
55             java.rmi.Remote JavaDoc.class,
56             java.lang.reflect.Method JavaDoc.class,
57             java.lang.Object JavaDoc[].class,
58             long.class
59         });
60         useNewInvoke = true;
61         $method_getBnIterationLightValue_0 = hero.interfaces.BnIteration.class.getMethod("getBnIterationLightValue", new java.lang.Class JavaDoc[] {});
62         $method_getBnIterationValue_1 = hero.interfaces.BnIteration.class.getMethod("getBnIterationValue", new java.lang.Class JavaDoc[] {});
63         $method_getBnProject_2 = hero.interfaces.BnIteration.class.getMethod("getBnProject", new java.lang.Class JavaDoc[] {});
64         $method_getCondition_3 = hero.interfaces.BnIteration.class.getMethod("getCondition", new java.lang.Class JavaDoc[] {});
65         $method_getEJBHome_4 = javax.ejb.EJBObject JavaDoc.class.getMethod("getEJBHome", new java.lang.Class JavaDoc[] {});
66         $method_getFromNode_5 = hero.interfaces.BnIteration.class.getMethod("getFromNode", new java.lang.Class JavaDoc[] {});
67         $method_getHandle_6 = javax.ejb.EJBObject JavaDoc.class.getMethod("getHandle", new java.lang.Class JavaDoc[] {});
68         $method_getPrimaryKey_7 = javax.ejb.EJBObject JavaDoc.class.getMethod("getPrimaryKey", new java.lang.Class JavaDoc[] {});
69         $method_getToNode_8 = hero.interfaces.BnIteration.class.getMethod("getToNode", new java.lang.Class JavaDoc[] {});
70         $method_isIdentical_9 = javax.ejb.EJBObject JavaDoc.class.getMethod("isIdentical", new java.lang.Class JavaDoc[] {javax.ejb.EJBObject JavaDoc.class});
71         $method_remove_10 = javax.ejb.EJBObject JavaDoc.class.getMethod("remove", new java.lang.Class JavaDoc[] {});
72         $method_setBnIterationLightValue_11 = hero.interfaces.BnIteration.class.getMethod("setBnIterationLightValue", new java.lang.Class JavaDoc[] {hero.interfaces.BnIterationLightValue.class});
73         $method_setBnIterationValue_12 = hero.interfaces.BnIteration.class.getMethod("setBnIterationValue", new java.lang.Class JavaDoc[] {hero.interfaces.BnIterationValue.class});
74         $method_setCondition_13 = hero.interfaces.BnIteration.class.getMethod("setCondition", new java.lang.Class JavaDoc[] {java.lang.String JavaDoc.class});
75         $method_setFromNode_14 = hero.interfaces.BnIteration.class.getMethod("setFromNode", new java.lang.Class JavaDoc[] {java.lang.String JavaDoc.class});
76         $method_setToNode_15 = hero.interfaces.BnIteration.class.getMethod("setToNode", new java.lang.Class JavaDoc[] {java.lang.String JavaDoc.class});
77     } catch (java.lang.NoSuchMethodException JavaDoc e) {
78         useNewInvoke = false;
79     }
80     }
81     
82     // constructors
83
public JOnASBnIteration_928445655Remote_Stub() {
84     super();
85     }
86     public JOnASBnIteration_928445655Remote_Stub(java.rmi.server.RemoteRef JavaDoc ref) {
87     super(ref);
88     }
89     
90     // methods from remote interfaces
91

92     // implementation of getBnIterationLightValue()
93
public hero.interfaces.BnIterationLightValue getBnIterationLightValue()
94     throws java.rmi.RemoteException JavaDoc
95     {
96     try {
97         if (useNewInvoke) {
98         Object JavaDoc $result = ref.invoke(this, $method_getBnIterationLightValue_0, null, -2628749196355984371L);
99         return ((hero.interfaces.BnIterationLightValue) $result);
100         } else {
101         java.rmi.server.RemoteCall JavaDoc call = ref.newCall((java.rmi.server.RemoteObject JavaDoc) this, operations, 0, interfaceHash);
102         ref.invoke(call);
103         hero.interfaces.BnIterationLightValue $result;
104         try {
105             java.io.ObjectInput JavaDoc in = call.getInputStream();
106             $result = (hero.interfaces.BnIterationLightValue) in.readObject();
107         } catch (java.io.IOException JavaDoc e) {
108             throw new java.rmi.UnmarshalException JavaDoc("error unmarshalling return", e);
109         } catch (java.lang.ClassNotFoundException JavaDoc e) {
110             throw new java.rmi.UnmarshalException JavaDoc("error unmarshalling return", e);
111         } finally {
112             ref.done(call);
113         }
114         return $result;
115         }
116     } catch (java.lang.RuntimeException JavaDoc e) {
117         throw e;
118     } catch (java.rmi.RemoteException JavaDoc e) {
119         throw e;
120     } catch (java.lang.Exception JavaDoc e) {
121         throw new java.rmi.UnexpectedException JavaDoc("undeclared checked exception", e);
122     }
123     }
124     
125     // implementation of getBnIterationValue()
126
public hero.interfaces.BnIterationValue getBnIterationValue()
127     throws java.rmi.RemoteException JavaDoc
128     {
129     try {
130         if (useNewInvoke) {
131         Object JavaDoc $result = ref.invoke(this, $method_getBnIterationValue_1, null, 8540086365098936445L);
132         return ((hero.interfaces.BnIterationValue) $result);
133         } else {
134         java.rmi.server.RemoteCall JavaDoc call = ref.newCall((java.rmi.server.RemoteObject JavaDoc) this, operations, 1, interfaceHash);
135         ref.invoke(call);
136         hero.interfaces.BnIterationValue $result;
137         try {
138             java.io.ObjectInput JavaDoc in = call.getInputStream();
139             $result = (hero.interfaces.BnIterationValue) in.readObject();
140         } catch (java.io.IOException JavaDoc e) {
141             throw new java.rmi.UnmarshalException JavaDoc("error unmarshalling return", e);
142         } catch (java.lang.ClassNotFoundException JavaDoc e) {
143             throw new java.rmi.UnmarshalException JavaDoc("error unmarshalling return", e);
144         } finally {
145             ref.done(call);
146         }
147         return $result;
148         }
149     } catch (java.lang.RuntimeException JavaDoc e) {
150         throw e;
151     } catch (java.rmi.RemoteException JavaDoc e) {
152         throw e;
153     } catch (java.lang.Exception JavaDoc e) {
154         throw new java.rmi.UnexpectedException JavaDoc("undeclared checked exception", e);
155     }
156     }
157     
158     // implementation of getBnProject()
159
public hero.interfaces.BnProjectLocal getBnProject()
160     throws java.rmi.RemoteException JavaDoc
161     {
162     try {
163         if (useNewInvoke) {
164         Object JavaDoc $result = ref.invoke(this, $method_getBnProject_2, null, 523733266555080879L);
165         return ((hero.interfaces.BnProjectLocal) $result);
166         } else {
167         java.rmi.server.RemoteCall JavaDoc call = ref.newCall((java.rmi.server.RemoteObject JavaDoc) this, operations, 2, interfaceHash);
168         ref.invoke(call);
169         hero.interfaces.BnProjectLocal $result;
170         try {
171             java.io.ObjectInput JavaDoc in = call.getInputStream();
172             $result = (hero.interfaces.BnProjectLocal) in.readObject();
173         } catch (java.io.IOException JavaDoc e) {
174             throw new java.rmi.UnmarshalException JavaDoc("error unmarshalling return", e);
175         } catch (java.lang.ClassNotFoundException JavaDoc e) {
176             throw new java.rmi.UnmarshalException JavaDoc("error unmarshalling return", e);
177         } finally {
178             ref.done(call);
179         }
180         return $result;
181         }
182     } catch (java.lang.RuntimeException JavaDoc e) {
183         throw e;
184     } catch (java.rmi.RemoteException JavaDoc e) {
185         throw e;
186     } catch (java.lang.Exception JavaDoc e) {
187         throw new java.rmi.UnexpectedException JavaDoc("undeclared checked exception", e);
188     }
189     }
190     
191     // implementation of getCondition()
192
public java.lang.String JavaDoc getCondition()
193     throws java.rmi.RemoteException JavaDoc
194     {
195     try {
196         if (useNewInvoke) {
197         Object JavaDoc $result = ref.invoke(this, $method_getCondition_3, null, 7028718903901957919L);
198         return ((java.lang.String JavaDoc) $result);
199         } else {
200         java.rmi.server.RemoteCall JavaDoc call = ref.newCall((java.rmi.server.RemoteObject JavaDoc) this, operations, 3, interfaceHash);
201         ref.invoke(call);
202         java.lang.String JavaDoc $result;
203         try {
204             java.io.ObjectInput JavaDoc in = call.getInputStream();
205             $result = (java.lang.String JavaDoc) in.readObject();
206         } catch (java.io.IOException JavaDoc e) {
207             throw new java.rmi.UnmarshalException JavaDoc("error unmarshalling return", e);
208         } catch (java.lang.ClassNotFoundException JavaDoc e) {
209             throw new java.rmi.UnmarshalException JavaDoc("error unmarshalling return", e);
210         } finally {
211             ref.done(call);
212         }
213         return $result;
214         }
215     } catch (java.lang.RuntimeException JavaDoc e) {
216         throw e;
217     } catch (java.rmi.RemoteException JavaDoc e) {
218         throw e;
219     } catch (java.lang.Exception JavaDoc e) {
220         throw new java.rmi.UnexpectedException JavaDoc("undeclared checked exception", e);
221     }
222     }
223     
224     // implementation of getEJBHome()
225
public javax.ejb.EJBHome JavaDoc getEJBHome()
226     throws java.rmi.RemoteException JavaDoc
227     {
228     try {
229         if (useNewInvoke) {
230         Object JavaDoc $result = ref.invoke(this, $method_getEJBHome_4, null, 3163754803894080547L);
231         return ((javax.ejb.EJBHome JavaDoc) $result);
232         } else {
233         java.rmi.server.RemoteCall JavaDoc call = ref.newCall((java.rmi.server.RemoteObject JavaDoc) this, operations, 4, interfaceHash);
234         ref.invoke(call);
235         javax.ejb.EJBHome JavaDoc $result;
236         try {
237             java.io.ObjectInput JavaDoc in = call.getInputStream();
238             $result = (javax.ejb.EJBHome JavaDoc) in.readObject();
239         } catch (java.io.IOException JavaDoc e) {
240             throw new java.rmi.UnmarshalException JavaDoc("error unmarshalling return", e);
241         } catch (java.lang.ClassNotFoundException JavaDoc e) {
242             throw new java.rmi.UnmarshalException JavaDoc("error unmarshalling return", e);
243         } finally {
244             ref.done(call);
245         }
246         return $result;
247         }
248     } catch (java.lang.RuntimeException JavaDoc e) {
249         throw e;
250     } catch (java.rmi.RemoteException JavaDoc e) {
251         throw e;
252     } catch (java.lang.Exception JavaDoc e) {
253         throw new java.rmi.UnexpectedException JavaDoc("undeclared checked exception", e);
254     }
255     }
256     
257     // implementation of getFromNode()
258
public java.lang.String JavaDoc getFromNode()
259     throws java.rmi.RemoteException JavaDoc
260     {
261     try {
262         if (useNewInvoke) {
263         Object JavaDoc $result = ref.invoke(this, $method_getFromNode_5, null, 8299780513142528823L);
264         return ((java.lang.String JavaDoc) $result);
265         } else {
266         java.rmi.server.RemoteCall JavaDoc call = ref.newCall((java.rmi.server.RemoteObject JavaDoc) this, operations, 5, interfaceHash);
267         ref.invoke(call);
268         java.lang.String JavaDoc $result;
269         try {
270             java.io.ObjectInput JavaDoc in = call.getInputStream();
271             $result = (java.lang.String JavaDoc) in.readObject();
272         } catch (java.io.IOException JavaDoc e) {
273             throw new java.rmi.UnmarshalException JavaDoc("error unmarshalling return", e);
274         } catch (java.lang.ClassNotFoundException JavaDoc e) {
275             throw new java.rmi.UnmarshalException JavaDoc("error unmarshalling return", e);
276         } finally {
277             ref.done(call);
278         }
279         return $result;
280         }
281     } catch (java.lang.RuntimeException JavaDoc e) {
282         throw e;
283     } catch (java.rmi.RemoteException JavaDoc e) {
284         throw e;
285     } catch (java.lang.Exception JavaDoc e) {
286         throw new java.rmi.UnexpectedException JavaDoc("undeclared checked exception", e);
287     }
288     }
289     
290     // implementation of getHandle()
291
public javax.ejb.Handle JavaDoc getHandle()
292     throws java.rmi.RemoteException JavaDoc
293     {
294     try {
295         if (useNewInvoke) {
296         Object JavaDoc $result = ref.invoke(this, $method_getHandle_6, null, -1299374689989208114L);
297         return ((javax.ejb.Handle JavaDoc) $result);
298         } else {
299         java.rmi.server.RemoteCall JavaDoc call = ref.newCall((java.rmi.server.RemoteObject JavaDoc) this, operations, 6, interfaceHash);
300         ref.invoke(call);
301         javax.ejb.Handle JavaDoc $result;
302         try {
303             java.io.ObjectInput JavaDoc in = call.getInputStream();
304             $result = (javax.ejb.Handle JavaDoc) in.readObject();
305         } catch (java.io.IOException JavaDoc e) {
306             throw new java.rmi.UnmarshalException JavaDoc("error unmarshalling return", e);
307         } catch (java.lang.ClassNotFoundException JavaDoc e) {
308             throw new java.rmi.UnmarshalException JavaDoc("error unmarshalling return", e);
309         } finally {
310             ref.done(call);
311         }
312         return $result;
313         }
314     } catch (java.lang.RuntimeException JavaDoc e) {
315         throw e;
316     } catch (java.rmi.RemoteException JavaDoc e) {
317         throw e;
318     } catch (java.lang.Exception JavaDoc e) {
319         throw new java.rmi.UnexpectedException JavaDoc("undeclared checked exception", e);
320     }
321     }
322     
323     // implementation of getPrimaryKey()
324
public java.lang.Object JavaDoc getPrimaryKey()
325     throws java.rmi.RemoteException JavaDoc
326     {
327     try {
328         if (useNewInvoke) {
329         Object JavaDoc $result = ref.invoke(this, $method_getPrimaryKey_7, null, 4840115071604865751L);
330         return ((java.lang.Object JavaDoc) $result);
331         } else {
332         java.rmi.server.RemoteCall JavaDoc call = ref.newCall((java.rmi.server.RemoteObject JavaDoc) this, operations, 7, interfaceHash);
333         ref.invoke(call);
334         java.lang.Object JavaDoc $result;
335         try {
336             java.io.ObjectInput JavaDoc in = call.getInputStream();
337             $result = (java.lang.Object JavaDoc) in.readObject();
338         } catch (java.io.IOException JavaDoc e) {
339             throw new java.rmi.UnmarshalException JavaDoc("error unmarshalling return", e);
340         } catch (java.lang.ClassNotFoundException JavaDoc e) {
341             throw new java.rmi.UnmarshalException JavaDoc("error unmarshalling return", e);
342         } finally {
343             ref.done(call);
344         }
345         return $result;
346         }
347     } catch (java.lang.RuntimeException JavaDoc e) {
348         throw e;
349     } catch (java.rmi.RemoteException JavaDoc e) {
350         throw e;
351     } catch (java.lang.Exception JavaDoc e) {
352         throw new java.rmi.UnexpectedException JavaDoc("undeclared checked exception", e);
353     }
354     }
355     
356     // implementation of getToNode()
357
public java.lang.String JavaDoc getToNode()
358     throws java.rmi.RemoteException JavaDoc
359     {
360     try {
361         if (useNewInvoke) {
362         Object JavaDoc $result = ref.invoke(this, $method_getToNode_8, null, 6984127123485665126L);
363         return ((java.lang.String JavaDoc) $result);
364         } else {
365         java.rmi.server.RemoteCall JavaDoc call = ref.newCall((java.rmi.server.RemoteObject JavaDoc) this, operations, 8, interfaceHash);
366         ref.invoke(call);
367         java.lang.String JavaDoc $result;
368         try {
369             java.io.ObjectInput JavaDoc in = call.getInputStream();
370             $result = (java.lang.String JavaDoc) in.readObject();
371         } catch (java.io.IOException JavaDoc e) {
372             throw new java.rmi.UnmarshalException JavaDoc("error unmarshalling return", e);
373         } catch (java.lang.ClassNotFoundException JavaDoc e) {
374             throw new java.rmi.UnmarshalException JavaDoc("error unmarshalling return", e);
375         } finally {
376             ref.done(call);
377         }
378         return $result;
379         }
380     } catch (java.lang.RuntimeException JavaDoc e) {
381         throw e;
382     } catch (java.rmi.RemoteException JavaDoc e) {
383         throw e;
384     } catch (java.lang.Exception JavaDoc e) {
385         throw new java.rmi.UnexpectedException JavaDoc("undeclared checked exception", e);
386     }
387     }
388     
389     // implementation of isIdentical(EJBObject)
390
public boolean isIdentical(javax.ejb.EJBObject JavaDoc $param_EJBObject_1)
391     throws java.rmi.RemoteException JavaDoc
392     {
393     try {
394         if (useNewInvoke) {
395         Object JavaDoc $result = ref.invoke(this, $method_isIdentical_9, new java.lang.Object JavaDoc[] {$param_EJBObject_1}, -5909123752501984271L);
396         return ((java.lang.Boolean JavaDoc) $result).booleanValue();
397         } else {
398         java.rmi.server.RemoteCall JavaDoc call = ref.newCall((java.rmi.server.RemoteObject JavaDoc) this, operations, 9, interfaceHash);
399         try {
400             java.io.ObjectOutput JavaDoc out = call.getOutputStream();
401             out.writeObject($param_EJBObject_1);
402         } catch (java.io.IOException JavaDoc e) {
403             throw new java.rmi.MarshalException JavaDoc("error marshalling arguments", e);
404         }
405         ref.invoke(call);
406         boolean $result;
407         try {
408             java.io.ObjectInput JavaDoc in = call.getInputStream();
409             $result = in.readBoolean();
410         } catch (java.io.IOException JavaDoc e) {
411             throw new java.rmi.UnmarshalException JavaDoc("error unmarshalling return", e);
412         } finally {
413             ref.done(call);
414         }
415         return $result;
416         }
417     } catch (java.lang.RuntimeException JavaDoc e) {
418         throw e;
419     } catch (java.rmi.RemoteException JavaDoc e) {
420         throw e;
421     } catch (java.lang.Exception JavaDoc e) {
422         throw new java.rmi.UnexpectedException JavaDoc("undeclared checked exception", e);
423     }
424     }
425     
426     // implementation of remove()
427
public void remove()
428     throws java.rmi.RemoteException JavaDoc, javax.ejb.RemoveException JavaDoc
429     {
430     try {
431         if (useNewInvoke) {
432         ref.invoke(this, $method_remove_10, null, -5013858639939630501L);
433         } else {
434         java.rmi.server.RemoteCall JavaDoc call = ref.newCall((java.rmi.server.RemoteObject JavaDoc) this, operations, 10, interfaceHash);
435         ref.invoke(call);
436         ref.done(call);
437         }
438     } catch (java.lang.RuntimeException JavaDoc e) {
439         throw e;
440     } catch (java.rmi.RemoteException JavaDoc e) {
441         throw e;
442     } catch (javax.ejb.RemoveException JavaDoc e) {
443         throw e;
444     } catch (java.lang.Exception JavaDoc e) {
445         throw new java.rmi.UnexpectedException JavaDoc("undeclared checked exception", e);
446     }
447     }
448     
449     // implementation of setBnIterationLightValue(BnIterationLightValue)
450
public void setBnIterationLightValue(hero.interfaces.BnIterationLightValue $param_BnIterationLightValue_1)
451     throws java.rmi.RemoteException JavaDoc
452     {
453     try {
454         if (useNewInvoke) {
455         ref.invoke(this, $method_setBnIterationLightValue_11, new java.lang.Object JavaDoc[] {$param_BnIterationLightValue_1}, 3640510844572181063L);
456         } else {
457         java.rmi.server.RemoteCall JavaDoc call = ref.newCall((java.rmi.server.RemoteObject JavaDoc) this, operations, 11, interfaceHash);
458         try {
459             java.io.ObjectOutput JavaDoc out = call.getOutputStream();
460             out.writeObject($param_BnIterationLightValue_1);
461         } catch (java.io.IOException JavaDoc e) {
462             throw new java.rmi.MarshalException JavaDoc("error marshalling arguments", e);
463         }
464         ref.invoke(call);
465         ref.done(call);
466         }
467     } catch (java.lang.RuntimeException JavaDoc e) {
468         throw e;
469     } catch (java.rmi.RemoteException JavaDoc e) {
470         throw e;
471     } catch (java.lang.Exception JavaDoc e) {
472         throw new java.rmi.UnexpectedException JavaDoc("undeclared checked exception", e);
473     }
474     }
475     
476     // implementation of setBnIterationValue(BnIterationValue)
477
public void setBnIterationValue(hero.interfaces.BnIterationValue $param_BnIterationValue_1)
478     throws java.rmi.RemoteException JavaDoc
479     {
480     try {
481         if (useNewInvoke) {
482         ref.invoke(this, $method_setBnIterationValue_12, new java.lang.Object JavaDoc[] {$param_BnIterationValue_1}, 2164865359651687015L);
483         } else {
484         java.rmi.server.RemoteCall JavaDoc call = ref.newCall((java.rmi.server.RemoteObject JavaDoc) this, operations, 12, interfaceHash);
485         try {
486             java.io.ObjectOutput JavaDoc out = call.getOutputStream();
487             out.writeObject($param_BnIterationValue_1);
488         } catch (java.io.IOException JavaDoc e) {
489             throw new java.rmi.MarshalException JavaDoc("error marshalling arguments", e);
490         }
491         ref.invoke(call);
492         ref.done(call);
493         }
494     } catch (java.lang.RuntimeException JavaDoc e) {
495         throw e;
496     } catch (java.rmi.RemoteException JavaDoc e) {
497         throw e;
498     } catch (java.lang.Exception JavaDoc e) {
499         throw new java.rmi.UnexpectedException JavaDoc("undeclared checked exception", e);
500     }
501     }
502     
503     // implementation of setCondition(String)
504
public void setCondition(java.lang.String JavaDoc $param_String_1)
505     throws java.rmi.RemoteException JavaDoc
506     {
507     try {
508         if (useNewInvoke) {
509         ref.invoke(this, $method_setCondition_13, new java.lang.Object JavaDoc[] {$param_String_1}, 8096379494619020881L);
510         } else {
511         java.rmi.server.RemoteCall JavaDoc call = ref.newCall((java.rmi.server.RemoteObject JavaDoc) this, operations, 13, interfaceHash);
512         try {
513             java.io.ObjectOutput JavaDoc out = call.getOutputStream();
514             out.writeObject($param_String_1);
515         } catch (java.io.IOException JavaDoc e) {
516             throw new java.rmi.MarshalException JavaDoc("error marshalling arguments", e);
517         }
518         ref.invoke(call);
519         ref.done(call);
520         }
521     } catch (java.lang.RuntimeException JavaDoc e) {
522         throw e;
523     } catch (java.rmi.RemoteException JavaDoc e) {
524         throw e;
525     } catch (java.lang.Exception JavaDoc e) {
526         throw new java.rmi.UnexpectedException JavaDoc("undeclared checked exception", e);
527     }
528     }
529     
530     // implementation of setFromNode(String)
531
public void setFromNode(java.lang.String JavaDoc $param_String_1)
532     throws java.rmi.RemoteException JavaDoc
533     {
534     try {
535         if (useNewInvoke) {
536         ref.invoke(this, $method_setFromNode_14, new java.lang.Object JavaDoc[] {$param_String_1}, 7725437078312241444L);
537         } else {
538         java.rmi.server.RemoteCall JavaDoc call = ref.newCall((java.rmi.server.RemoteObject JavaDoc) this, operations, 14, interfaceHash);
539         try {
540             java.io.ObjectOutput JavaDoc out = call.getOutputStream();
541             out.writeObject($param_String_1);
542         } catch (java.io.IOException JavaDoc e) {
543             throw new java.rmi.MarshalException JavaDoc("error marshalling arguments", e);
544         }
545         ref.invoke(call);
546         ref.done(call);
547         }
548     } catch (java.lang.RuntimeException JavaDoc e) {
549         throw e;
550     } catch (java.rmi.RemoteException JavaDoc e) {
551         throw e;
552     } catch (java.lang.Exception JavaDoc e) {
553         throw new java.rmi.UnexpectedException JavaDoc("undeclared checked exception", e);
554     }
555     }
556     
557     // implementation of setToNode(String)
558
public void setToNode(java.lang.String JavaDoc $param_String_1)
559     throws java.rmi.RemoteException JavaDoc
560     {
561     try {
562         if (useNewInvoke) {
563         ref.invoke(this, $method_setToNode_15, new java.lang.Object JavaDoc[] {$param_String_1}, -1766880597694642430L);
564         } else {
565         java.rmi.server.RemoteCall JavaDoc call = ref.newCall((java.rmi.server.RemoteObject JavaDoc) this, operations, 15, interfaceHash);
566         try {
567             java.io.ObjectOutput JavaDoc out = call.getOutputStream();
568             out.writeObject($param_String_1);
569         } catch (java.io.IOException JavaDoc e) {
570             throw new java.rmi.MarshalException JavaDoc("error marshalling arguments", e);
571         }
572         ref.invoke(call);
573         ref.done(call);
574         }
575     } catch (java.lang.RuntimeException JavaDoc e) {
576         throw e;
577     } catch (java.rmi.RemoteException JavaDoc e) {
578         throw e;
579     } catch (java.lang.Exception JavaDoc e) {
580         throw new java.rmi.UnexpectedException JavaDoc("undeclared checked exception", e);
581     }
582     }
583 }
584
Popular Tags