Package org.apache.yoko.orb.CORBA

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


            throw new org.omg.CORBA.BAD_TYPECODE(MinorCodes
                    .describeBadTypecode(MinorCodes.MinorInvalidMemberType),
                    MinorCodes.MinorInvalidMemberType,
                    org.omg.CORBA.CompletionStatus.COMPLETED_NO);

        TypeCode tc = new TypeCode();

        tc.kind_ = org.omg.CORBA.TCKind.tk_sequence;
        tc.length_ = bound;
        try {
            tc.contentType_ = (TypeCode) element_type;
View Full Code Here


            throw new org.omg.CORBA.BAD_TYPECODE(MinorCodes
                    .describeBadTypecode(MinorCodes.MinorInvalidMemberType),
                    MinorCodes.MinorInvalidMemberType,
                    org.omg.CORBA.CompletionStatus.COMPLETED_NO);

        TypeCode tc = new TypeCode();

        tc.kind_ = org.omg.CORBA.TCKind.tk_array;
        tc.length_ = length;
        try {
            tc.contentType_ = (TypeCode) element_type;
View Full Code Here

                            MinorCodes.MinorInvalidMemberName,
                            org.omg.CORBA.CompletionStatus.COMPLETED_NO);
                }
        }

        TypeCode tc = new TypeCode();

        tc.kind_ = org.omg.CORBA.TCKind.tk_value;
        tc.id_ = id;
        tc.name_ = name;
        tc.typeModifier_ = type_modifier;
View Full Code Here

            throw new org.omg.CORBA.BAD_TYPECODE(MinorCodes
                    .describeBadTypecode(MinorCodes.MinorInvalidMemberType),
                    MinorCodes.MinorInvalidMemberType,
                    org.omg.CORBA.CompletionStatus.COMPLETED_NO);

        TypeCode tc = new TypeCode();

        tc.kind_ = org.omg.CORBA.TCKind.tk_value_box;
        tc.id_ = id;
        tc.name_ = name;
        try {
View Full Code Here

            throw new org.omg.CORBA.BAD_PARAM(MinorCodes
                    .describeBadParam(MinorCodes.MinorInvalidName)
                    + ": " + name, MinorCodes.MinorInvalidName,
                    org.omg.CORBA.CompletionStatus.COMPLETED_NO);

        TypeCode tc = new TypeCode();

        tc.kind_ = org.omg.CORBA.TCKind.tk_native;
        tc.id_ = id;
        tc.name_ = name;
View Full Code Here

            throw new org.omg.CORBA.BAD_PARAM(MinorCodes
                    .describeBadParam(MinorCodes.MinorInvalidId)
                    + ": " + id, MinorCodes.MinorInvalidId,
                    org.omg.CORBA.CompletionStatus.COMPLETED_NO);

        TypeCode tc = new TypeCode();

        tc.recId_ = id;

        return tc;
    }
View Full Code Here

            throw new org.omg.CORBA.BAD_PARAM(MinorCodes
                    .describeBadParam(MinorCodes.MinorInvalidName)
                    + ": " + name, MinorCodes.MinorInvalidName,
                    org.omg.CORBA.CompletionStatus.COMPLETED_NO);

        TypeCode tc = new TypeCode();

        tc.kind_ = org.omg.CORBA.TCKind.tk_abstract_interface;
        tc.id_ = id;
        tc.name_ = name;
View Full Code Here

            throw new org.omg.CORBA.BAD_PARAM(MinorCodes
                    .describeBadParam(MinorCodes.MinorInvalidName)
                    + ": " + name, MinorCodes.MinorInvalidName,
                    org.omg.CORBA.CompletionStatus.COMPLETED_NO);

        TypeCode tc = new TypeCode();

        tc.kind_ = org.omg.CORBA_2_4.TCKind.tk_local_interface;
        tc.id_ = id;
        tc.name_ = name;
View Full Code Here

            org.omg.CORBA.TypeCode tc,
            org.apache.yoko.orb.DynamicAny.DynValueReader dvr)
            throws org.omg.DynamicAny.DynAnyFactoryPackage.InconsistentTypeCode {
        org.omg.DynamicAny.DynAny result = null;

        TypeCode type = null;
        try {
            type = (TypeCode) tc;
        } catch (ClassCastException ex) {
            type = TypeCode._OB_convertForeignTypeCode(tc);
        }
View Full Code Here

    public org.omg.DynamicAny.DynAny create_dyn_any_from_type_code(
            org.omg.CORBA.TypeCode tc)
            throws org.omg.DynamicAny.DynAnyFactoryPackage.InconsistentTypeCode {
        org.omg.DynamicAny.DynAny result = null;

        TypeCode type = null;
        try {
            type = (TypeCode) tc;
        } catch (ClassCastException ex) {
            type = TypeCode._OB_convertForeignTypeCode(tc);
        }
View Full Code Here

TOP

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

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.