Package org.apache.yoko.orb.CORBA

Examples of org.apache.yoko.orb.CORBA.Any.replace()


            org.omg.DynamicAny.DynAnyPackage.InvalidValue {
        Any any = _OB_currentAny();

        checkValue(any, org.omg.CORBA.TCKind.tk_boolean);

        any.replace(any.type(), Boolean.valueOf(value));

        notifyParent();
    }

    public synchronized void insert_octet(byte value)
View Full Code Here


            org.omg.DynamicAny.DynAnyPackage.InvalidValue {
        Any any = _OB_currentAny();

        checkValue(any, org.omg.CORBA.TCKind.tk_octet);

        any.replace(any.type(), new Byte(value));

        notifyParent();
    }

    public synchronized void insert_char(char value)
View Full Code Here

            org.omg.DynamicAny.DynAnyPackage.InvalidValue {
        Any any = _OB_currentAny();

        checkValue(any, org.omg.CORBA.TCKind.tk_char);

        any.replace(any.type(), new Character(value));

        notifyParent();
    }

    public synchronized void insert_short(short value)
View Full Code Here

            org.omg.DynamicAny.DynAnyPackage.InvalidValue {
        Any any = _OB_currentAny();

        checkValue(any, org.omg.CORBA.TCKind.tk_short);

        any.replace(any.type(), new Integer(value));

        notifyParent();
    }

    public synchronized void insert_ushort(short value)
View Full Code Here

            org.omg.DynamicAny.DynAnyPackage.InvalidValue {
        Any any = _OB_currentAny();

        checkValue(any, org.omg.CORBA.TCKind.tk_ushort);

        any.replace(any.type(), new Integer(value));

        notifyParent();
    }

    public synchronized void insert_long(int value)
View Full Code Here

            org.omg.DynamicAny.DynAnyPackage.InvalidValue {
        Any any = _OB_currentAny();

        checkValue(any, org.omg.CORBA.TCKind.tk_long);

        any.replace(any.type(), new Integer(value));

        notifyParent();
    }

    public synchronized void insert_ulong(int value)
View Full Code Here

            org.omg.DynamicAny.DynAnyPackage.InvalidValue {
        Any any = _OB_currentAny();

        checkValue(any, org.omg.CORBA.TCKind.tk_ulong);

        any.replace(any.type(), new Integer(value));

        notifyParent();
    }

    public synchronized void insert_float(float value)
View Full Code Here

            org.omg.DynamicAny.DynAnyPackage.InvalidValue {
        Any any = _OB_currentAny();

        checkValue(any, org.omg.CORBA.TCKind.tk_float);

        any.replace(any.type(), new Float(value));

        notifyParent();
    }

    public synchronized void insert_double(double value)
View Full Code Here

            org.omg.DynamicAny.DynAnyPackage.InvalidValue {
        Any any = _OB_currentAny();

        checkValue(any, org.omg.CORBA.TCKind.tk_double);

        any.replace(any.type(), new Double(value));

        notifyParent();
    }

    public synchronized void insert_string(String value)
View Full Code Here

                throw new org.omg.DynamicAny.DynAnyPackage.InvalidValue();
        } catch (org.omg.CORBA.TypeCodePackage.BadKind ex) {
            org.apache.yoko.orb.OB.Assert._OB_assert(false);
        }

        any.replace(tc, value);

        notifyParent();
    }

    public synchronized void insert_reference(org.omg.CORBA.Object 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.