Package org.apache.yoko.orb.CORBA

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


    }

    public synchronized int get_ulong()
            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_ulong();
        } catch (org.omg.CORBA.BAD_OPERATION e) {
            throw new org.omg.DynamicAny.DynAnyPackage.TypeMismatch();
        }
    }
View Full Code Here


    }

    public synchronized float get_float()
            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_float();
        } catch (org.omg.CORBA.BAD_OPERATION e) {
            throw new org.omg.DynamicAny.DynAnyPackage.TypeMismatch();
        }
    }
View Full Code Here

    }

    public synchronized double get_double()
            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_double();
        } catch (org.omg.CORBA.BAD_OPERATION e) {
            throw new org.omg.DynamicAny.DynAnyPackage.TypeMismatch();
        }
    }
View Full Code Here

    }

    public synchronized String get_string()
            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_string();
        } catch (org.omg.CORBA.BAD_OPERATION e) {
            throw new org.omg.DynamicAny.DynAnyPackage.TypeMismatch();
        }
    }
View Full Code Here

    }

    public synchronized org.omg.CORBA.Object get_reference()
            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_Object();
        } catch (org.omg.CORBA.BAD_OPERATION e) {
            throw new org.omg.DynamicAny.DynAnyPackage.TypeMismatch();
        }
    }
View Full Code Here

    }

    public synchronized org.omg.CORBA.TypeCode get_typecode()
            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_TypeCode();
        } catch (org.omg.CORBA.BAD_OPERATION e) {
            throw new org.omg.DynamicAny.DynAnyPackage.TypeMismatch();
        }
    }
View Full Code Here

    }

    public synchronized long get_longlong()
            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_longlong();
        } catch (org.omg.CORBA.BAD_OPERATION e) {
            throw new org.omg.DynamicAny.DynAnyPackage.TypeMismatch();
        }
    }
View Full Code Here

    }

    public synchronized long get_ulonglong()
            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_ulonglong();
        } catch (org.omg.CORBA.BAD_OPERATION e) {
            throw new org.omg.DynamicAny.DynAnyPackage.TypeMismatch();
        }
    }
View Full Code Here

    }

    public synchronized char get_wchar()
            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_wchar();
        } catch (org.omg.CORBA.BAD_OPERATION e) {
            throw new org.omg.DynamicAny.DynAnyPackage.TypeMismatch();
        }
    }
View Full Code Here

    }

    public synchronized String get_wstring()
            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_wstring();
        } 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.