Package org.apache.geronimo.corba.io

Examples of org.apache.geronimo.corba.io.EncapsulationInputStream.read_string()


                try {

                    tc = new TypeCodeImpl();
                    map.put(new Integer(pos), tc);
                    tc.kind = TCKind.tk_union;
                    tc.id = encap_in.read_string();
                    tc.name = encap_in.read_string();
                    tc.discriminatorType = read(encap_in, toplevel, map);
                    int index = encap_in.read_long();
                    int count = encap_in.read_ulong();
                    tc.labels = new AnyImpl[count];
View Full Code Here


                    tc = new TypeCodeImpl();
                    map.put(new Integer(pos), tc);
                    tc.kind = TCKind.tk_union;
                    tc.id = encap_in.read_string();
                    tc.name = encap_in.read_string();
                    tc.discriminatorType = read(encap_in, toplevel, map);
                    int index = encap_in.read_long();
                    int count = encap_in.read_ulong();
                    tc.labels = new AnyImpl[count];
                    tc.memberNames = new String[count];
View Full Code Here

                            tc.labels[i].insert_octet((byte) 0);
                        } else {
                            tc.labels[i].read_value(encap_in, tc.discriminatorType);
                        }

                        tc.memberNames[i] = encap_in.read_string();
                        tc.memberTypes[i] = read(encap_in, toplevel, map);
                    }

                }
                finally {
View Full Code Here

            }

            case TCKind._tk_enum: {
                encap_in = in.__open_encapsulation();
                try {
                    String id = encap_in.read_string();
                    String name = encap_in.read_string();
                    int count = encap_in.read_ulong();
                    String[] names = new String[count];
                    for (int i = 0; i < count; i++)
                        names[i] = encap_in.read_string();
View Full Code Here

            case TCKind._tk_enum: {
                encap_in = in.__open_encapsulation();
                try {
                    String id = encap_in.read_string();
                    String name = encap_in.read_string();
                    int count = encap_in.read_ulong();
                    String[] names = new String[count];
                    for (int i = 0; i < count; i++)
                        names[i] = encap_in.read_string();
                    tc = create_enum_tc(id, name, names);
View Full Code Here

                    String id = encap_in.read_string();
                    String name = encap_in.read_string();
                    int count = encap_in.read_ulong();
                    String[] names = new String[count];
                    for (int i = 0; i < count; i++)
                        names[i] = encap_in.read_string();
                    tc = create_enum_tc(id, name, names);

                }
                finally {
                    in.__close_encapsulation(encap_in);
View Full Code Here

                break;

            case TCKind._tk_alias:
                encap_in = in.__open_encapsulation();
                try {
                    tc = create_alias_tc(encap_in.read_string(), encap_in
                            .read_string(), read(encap_in, toplevel, map));
                }
                finally {
                    in.__close_encapsulation(encap_in);
                }
View Full Code Here

                break;

            case TCKind._tk_alias:
                encap_in = in.__open_encapsulation();
                try {
                    tc = create_alias_tc(encap_in.read_string(), encap_in
                            .read_string(), read(encap_in, toplevel, map));
                }
                finally {
                    in.__close_encapsulation(encap_in);
                }
View Full Code Here

                try {

                    tc = new TypeCodeImpl();
                    map.put(new Integer(pos), tc);
                    tc.kind = TCKind.tk_value;
                    tc.id = encap_in.read_string();
                    tc.name = encap_in.read_string();
                    tc.typeModifier = encap_in.read_short();
                    tc.concreteBaseType = read(encap_in, toplevel, map);
                    if (tc.concreteBaseType.kind() == TCKind.tk_null) {
                        tc.concreteBaseType = null;
View Full Code Here

                    tc = new TypeCodeImpl();
                    map.put(new Integer(pos), tc);
                    tc.kind = TCKind.tk_value;
                    tc.id = encap_in.read_string();
                    tc.name = encap_in.read_string();
                    tc.typeModifier = encap_in.read_short();
                    tc.concreteBaseType = read(encap_in, toplevel, map);
                    if (tc.concreteBaseType.kind() == TCKind.tk_null) {
                        tc.concreteBaseType = null;
                    }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.