Package org.omg.CORBA.portable

Examples of org.omg.CORBA.portable.ValueBase


                writeValue(value, helper);
            }
            return;
        }

        ValueBase base = (ValueBase) value;
        String[] ids = base._truncatable_ids();
        String valueID = ids[0];
        boolean isTruncatable = ids.length > 1;

        boolean sameType = false; // (valueID.equals (repositoryID));
View Full Code Here


    public void testEventBaseAsAny()
    {
        Any any = orb.create_any();

        ValueBaseHelper.insert(any, evt);
        ValueBase base = (ValueBase) ValueBaseHelper.extract(any);

        assertEquals(evt, base);
    }
View Full Code Here

    public void testEventBaseAsStream()
    {
        OutputStream out = orb.create_output_stream();
        ValueBaseHelper.write(out, evt);
        InputStream in = out.create_input_stream();
        ValueBase base = (ValueBase) ValueBaseHelper.read(in);

        assertEquals(evt, base);
    }
View Full Code Here

TOP

Related Classes of org.omg.CORBA.portable.ValueBase

Copyright © 2018 www.massapicom. 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.