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_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

        org.omg.CORBA.TypeCode origTC = TypeCode._OB_getOrigType(tc);
        if (origTC.kind() != org.omg.CORBA.TCKind.tk_objref
                && origTC.kind() != org.omg.CORBA_2_4.TCKind.tk_local_interface)
            throw new org.omg.DynamicAny.DynAnyPackage.TypeMismatch();

        any.replace(tc, value);

        notifyParent();
    }

    public synchronized void insert_typecode(org.omg.CORBA.TypeCode value)
View Full Code Here

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

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

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

        notifyParent();
    }

    public synchronized void insert_longlong(long value)
View Full Code Here

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

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

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

        notifyParent();
    }

    public synchronized void insert_ulonglong(long value)
View Full Code Here

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

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

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

        notifyParent();
    }

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

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

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

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

        notifyParent();
    }

    public synchronized void insert_wstring(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_any(org.omg.CORBA.Any value)
View Full Code Here

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

        checkValue(any, org.omg.CORBA.BooleanSeqHelper.type().kind());

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

        notifyParent();
    }

    public synchronized void insert_octet_seq(byte[] value)
View Full Code Here

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

        checkValue(any, org.omg.CORBA.OctetSeqHelper.type().kind());

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

        notifyParent();
    }

    public synchronized void insert_char_seq(char[] 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.