Examples of openEncapsulatedArray()


Examples of org.jacorb.orb.CDRInputStream.openEncapsulatedArray()

                os.beginEncapsulatedArray ();

                if (body10.iiop_version.minor > 0)
                {
                    is = new CDRInputStream (orb, profiles[i].profile_data);
                    is.openEncapsulatedArray ();
                    body11 = ProfileBody_1_1Helper.read (is);
                    is.close ();

                    body11.host = host;
                    body11.port = port;
View Full Code Here

Examples of org.jacorb.orb.CDRInputStream.openEncapsulatedArray()

        {
            if( contexts[i].context_id == TAG_CODE_SETS.value )
            {
                // TAG_CODE_SETS found, demarshall
                CDRInputStream is = new CDRInputStream( null, contexts[i].context_data );
                is.openEncapsulatedArray();

                return CodeSetContextHelper.read( is );
            }
        }
View Full Code Here

Examples of org.jacorb.orb.CDRInputStream.openEncapsulatedArray()

    {
        ServiceContext ctx = in.getServiceContext(INVOCATION_POLICIES.value);
        if (ctx != null)
        {
            CDRInputStream input = new CDRInputStream (null, ctx.context_data);
            input.openEncapsulatedArray();
            PolicyValue[] p = PolicyValueSeqHelper.read (input);
            for (int i=0; i < p.length; i++)
            {
                if (p[i].ptype == REQUEST_START_TIME_POLICY_TYPE.value)
                    requestStartTime = Time.fromCDR (p[i].pvalue);
View Full Code Here

Examples of org.jacorb.orb.CDRInputStream.openEncapsulatedArray()

    public Any decode(byte[] data)
        throws FormatMismatch
    {
        CDRInputStream in = new CDRInputStream(orb, data);

        in.openEncapsulatedArray();
        Any result = in.read_any();

        //not necessary, since stream is never used again
        //in.closeEncapsulation();
View Full Code Here

Examples of org.jacorb.orb.CDRInputStream.openEncapsulatedArray()

    public Any decode_value(byte[] data, TypeCode tc)
        throws FormatMismatch, TypeMismatch
    {
        CDRInputStream in = new CDRInputStream(orb, data);

        in.openEncapsulatedArray();
        Any result = orb.create_any();
        result.read_value(in, tc);

        //not necessary, since stream is never used again
        //in.closeEncasupaltion();
View Full Code Here

Examples of org.jacorb.orb.CDRInputStream.openEncapsulatedArray()

        CompoundSecMechList csmList = null;
        try
        {
            TaggedComponent tc = ri.get_effective_component(TAG_CSI_SEC_MECH_LIST.value);
            CDRInputStream is = new CDRInputStream( (org.omg.CORBA.ORB)null, tc.component_data);
            is.openEncapsulatedArray();
            csmList = CompoundSecMechListHelper.read( is );
        }
        catch (BAD_PARAM e)
        {
            if (logger.isDebugEnabled())
View Full Code Here

Examples of org.jacorb.orb.CDRInputStream.openEncapsulatedArray()

        if (sas != null && sas.mechanism_list[0].transport_mech.tag == TAG_TLS_SEC_TRANS.value) {
            try
            {
                byte[] tagData = sas.mechanism_list[0].transport_mech.component_data;
                CDRInputStream in = new CDRInputStream( (org.omg.CORBA.ORB)null, tagData );
                in.openEncapsulatedArray();
                tls = TLS_SEC_TRANSHelper.read( in );
            }
            catch ( Exception ex )
            {
                logger.warn("Error parsing TLS_SEC_TRANS: "+ex);
View Full Code Here

Examples of org.jacorb.orb.CDRInputStream.openEncapsulatedArray()

                csmList.mechanism_list[0].transport_mech.component_data;
            CDRInputStream in =
                new CDRInputStream((org.omg.CORBA.ORB)null, tlsSecTransData);
            try
            {
                in.openEncapsulatedArray();
                TLS_SEC_TRANS tls = TLS_SEC_TRANSHelper.read(in);
                if (tls.addresses.length > 0)
                {
                    int ssl_port = tls.addresses[0].port;
                    if (ssl_port != 0)
View Full Code Here

Examples of org.jacorb.orb.CDRInputStream.openEncapsulatedArray()

    * {@link #readAddressProfile()} method.
    */
    protected void initFromProfileData(byte[] data)
    {
        CDRInputStream in = new CDRInputStream(null, data);
        in.openEncapsulatedArray();

        readAddressProfile(in);
       
        int length = in.read_ulong();
       
View Full Code Here

Examples of org.jacorb.orb.CDRInputStream.openEncapsulatedArray()

    {
        CDRInputStream is =
        new CDRInputStream( (org.omg.CORBA.ORB)null,
                            taggedComponent.component_data);

        is.openEncapsulatedArray();
        CompoundSecMechList csmList = CompoundSecMechListHelper.read( is );

        if( csmList!= null )
        {
            System.out.println("\t\tis stateful: " + csmList.stateful );
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.