Package org.apache.yoko.orb.CORBA

Examples of org.apache.yoko.orb.CORBA.Any


    }

    public synchronized void insert_longlong_seq(long[] value)
            throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch,
            org.omg.DynamicAny.DynAnyPackage.InvalidValue {
        Any any = _OB_currentAny();

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

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

        notifyParent();
    }
View Full Code Here


    }

    public synchronized void insert_ulonglong_seq(long[] value)
            throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch,
            org.omg.DynamicAny.DynAnyPackage.InvalidValue {
        Any any = _OB_currentAny();

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

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

        notifyParent();
    }
View Full Code Here

    }

    public synchronized void insert_float_seq(float[] value)
            throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch,
            org.omg.DynamicAny.DynAnyPackage.InvalidValue {
        Any any = _OB_currentAny();

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

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

        notifyParent();
    }
View Full Code Here

    }

    public synchronized void insert_double_seq(double[] value)
            throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch,
            org.omg.DynamicAny.DynAnyPackage.InvalidValue {
        Any any = _OB_currentAny();

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

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

        notifyParent();
    }
View Full Code Here

    }

    public synchronized boolean get_boolean()
            throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch,
            org.omg.DynamicAny.DynAnyPackage.InvalidValue {
        Any any = _OB_currentAny();

        if (any == null)
            throw new org.omg.DynamicAny.DynAnyPackage.InvalidValue();

        try {
            return any.extract_boolean();
        } catch (org.omg.CORBA.BAD_OPERATION e) {
            throw new org.omg.DynamicAny.DynAnyPackage.TypeMismatch();
        }
    }
View Full Code Here

    }

    public synchronized byte get_octet()
            throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch,
            org.omg.DynamicAny.DynAnyPackage.InvalidValue {
        Any any = _OB_currentAny();

        if (any == null)
            throw new org.omg.DynamicAny.DynAnyPackage.InvalidValue();

        try {
            return any.extract_octet();
        } catch (org.omg.CORBA.BAD_OPERATION e) {
            throw new org.omg.DynamicAny.DynAnyPackage.TypeMismatch();
        }
    }
View Full Code Here

    }

    public synchronized char get_char()
            throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch,
            org.omg.DynamicAny.DynAnyPackage.InvalidValue {
        Any any = _OB_currentAny();

        if (any == null)
            throw new org.omg.DynamicAny.DynAnyPackage.InvalidValue();

        try {
            return any.extract_char();
        } catch (org.omg.CORBA.BAD_OPERATION e) {
            throw new org.omg.DynamicAny.DynAnyPackage.TypeMismatch();
        }
    }
View Full Code Here

    }

    public synchronized short get_short()
            throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch,
            org.omg.DynamicAny.DynAnyPackage.InvalidValue {
        Any any = _OB_currentAny();

        if (any == null)
            throw new org.omg.DynamicAny.DynAnyPackage.InvalidValue();

        try {
            return any.extract_short();
        } catch (org.omg.CORBA.BAD_OPERATION e) {
            throw new org.omg.DynamicAny.DynAnyPackage.TypeMismatch();
        }
    }
View Full Code Here

    }

    public synchronized short get_ushort()
            throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch,
            org.omg.DynamicAny.DynAnyPackage.InvalidValue {
        Any any = _OB_currentAny();

        if (any == null)
            throw new org.omg.DynamicAny.DynAnyPackage.InvalidValue();

        try {
            return any.extract_ushort();
        } catch (org.omg.CORBA.BAD_OPERATION e) {
            throw new org.omg.DynamicAny.DynAnyPackage.TypeMismatch();
        }
    }
View Full Code Here

    }

    public synchronized int get_long()
            throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch,
            org.omg.DynamicAny.DynAnyPackage.InvalidValue {
        Any any = _OB_currentAny();

        if (any == null)
            throw new org.omg.DynamicAny.DynAnyPackage.InvalidValue();

        try {
            return any.extract_long();
        } catch (org.omg.CORBA.BAD_OPERATION e) {
            throw new org.omg.DynamicAny.DynAnyPackage.TypeMismatch();
        }
    }
View Full Code Here

TOP

Related Classes of org.apache.yoko.orb.CORBA.Any

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.