Package org.apache.geronimo.corba.io

Examples of org.apache.geronimo.corba.io.EncapsulationOutputStream.write_ulong()


                                case TCKind._tk_char:
                                    eout.write_char((char) 0);
                                    break;

                                case TCKind._tk_enum:
                                    eout.write_ulong(0);
                                    break;

                                default:
                                    throw new org.omg.CORBA.BAD_TYPECODE();
View Full Code Here


                case TCKind._tk_enum:
                    map.put(tc, pos);
                    eout = out.__open_encapsulation();
                    eout.write_string(tc.id());
                    eout.write_string(tc.name());
                    eout.write_ulong(tc.member_count());
                    for (int i = 0; i < tc.member_count(); i++) {
                        eout.write_string(tc.member_name(i));
                    }
                    out.__close_encapsulation(eout);
                    break;
View Full Code Here

                    eout.write_string(tc.id());
                    eout.write_string(tc.name());
                    eout.write_short(tc.type_modifier());
                    write(eout, base, map);
                    eout.write_ulong(tc.member_count());
                    for (int i = 0; i < tc.member_count(); i++) {
                        eout.write_string(tc.member_name(i));
                        write(eout, tc.member_type(i), map);
                        eout.write_short(tc.member_visibility(i));
                    }
View Full Code Here

                case TCKind._tk_except:
                    map.put(tc, pos);
                    eout = out.__open_encapsulation();
                    eout.write_string(tc.id());
                    eout.write_string(tc.name());
                    eout.write_ulong(tc.member_count());
                    for (int i = 0; i < tc.member_count(); i++) {
                        eout.write_string(tc.member_name(i));
                        // recurse
                        write(eout, tc.member_type(i), map);
                    }
View Full Code Here

                    TypeCodeImpl disc = (TypeCodeImpl) tc.discriminator_type();
                    write(eout, disc, map);

                    int index = tc.default_index();
                    eout.write_long(index);
                    eout.write_ulong(tc.member_count());

                    for (int i = 0; i < tc.member_count(); i++) {

                        if (i == index) {
                            switch (disc.kind().value()) {
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.