01: package org.omg.PortableServer;
02:
03: public class CurrentHelper implements org.omg.CORBA.portable.Helper {
04: public CurrentHelper() {
05: }
06:
07: public static void insert(org.omg.CORBA.Any any,
08: org.omg.PortableServer.Current s) {
09: any
10: .insert_Streamable((new org.omg.PortableServer.CurrentHolder(
11: s)));
12: }
13:
14: public static org.omg.PortableServer.Current extract(
15: org.omg.CORBA.Any any) {
16: org.omg.PortableServer.CurrentHolder h = (org.omg.PortableServer.CurrentHolder) any
17: .extract_Streamable();
18: return h.value;
19: }
20:
21: public static org.omg.CORBA.TypeCode type() {
22: return org.omg.CORBA.ORB.init().create_interface_tc(
23: "IDL:omg.org/PortableServer/Current:1.0", "Current");
24: }
25:
26: public static String id() {
27: return "pseudo object";
28: }
29:
30: public static Current read(org.omg.CORBA.portable.InputStream in) {
31: throw new org.omg.CORBA.MARSHAL();
32: }
33:
34: public static void write(org.omg.CORBA.portable.OutputStream out,
35: org.omg.PortableServer.Current s) {
36: throw new org.omg.CORBA.MARSHAL();
37: }
38:
39: public static org.omg.PortableServer.Current narrow(
40: org.omg.CORBA.Object obj) {
41: return (org.omg.PortableServer.Current) obj;
42: }
43:
44: public void write_Object(org.omg.CORBA.portable.OutputStream out,
45: java.lang.Object obj) {
46: throw new org.omg.CORBA.MARSHAL();
47:
48: }
49:
50: public java.lang.Object read_Object(
51: org.omg.CORBA.portable.InputStream in) {
52: throw new org.omg.CORBA.MARSHAL();
53:
54: }
55:
56: public String get_id() {
57: throw new org.omg.CORBA.MARSHAL();
58: }
59:
60: public org.omg.CORBA.TypeCode get_type() {
61: throw new org.omg.CORBA.MARSHAL();
62: }
63: }
|