Examples of write_long()


Examples of org.jacorb.orb.CDROutputStream.write_long()

      out_any.type(type());

      final CDROutputStream out = new CDROutputStream(orb);
      try
      {
          out.write_long( length );

          for( int i = 0; i < length; i++)
          {
              out.write_value( elementType,
                      ((Any)members.get(i)).create_input_stream());
View Full Code Here

Examples of org.jacorb.orb.CDROutputStream.write_long()

                    if (compSeq == null)
                    {
                        compSeq = new TaggedComponentSeqHolder (new TaggedComponent[0]);
                    }
                // Write the length of the TaggedProfile sequence.
                profileDataStream.write_long(this.components.size() + compSeq.value.length);

                // Write the TaggedProfiles (ours first, then the ORB's)
                for (int i = 0; i < this.components.asArray().length; i++)
                {
                    TaggedComponentHelper.write(profileDataStream, this.components.asArray()[i]);
View Full Code Here

Examples of org.jacorb.orb.CDROutputStream.write_long()

            // Write the opaque AddressProfile bytes for this profile...
            writeAddressProfile(profileDataStream);

            // ... then the object key
            profileDataStream.write_long(objectKey.length);
            profileDataStream.write_octet_array(objectKey,0,objectKey.length);

            switch( version.minor )
            {
                case 0 :
View Full Code Here

Examples of org.omg.CORBA.portable.OutputStream.write_long()

        // Get the stream where the parameters must be written:
        OutputStream out = _request("passSimple", true);

        // Write the parameters.
        out.write_octet(an_octet.value);
        out.write_long(a_long);
        out.write_short(a_short.value);
        out.write_string(a_string.value);

        // Invoke the method.
        in = _invoke(out);
View Full Code Here

Examples of org.omg.CORBA.portable.OutputStream.write_long()

    try
      {
        // The special name of operation instructs just to set
        // the field value rather than calling the method.
        OutputStream out = _request("_set_theField", true);
        out.write_long(newTheField);
        in = _invoke(out);
      }
    catch (ApplicationException ex)
      {
        in = ex.getInputStream();
View Full Code Here

Examples of org.omg.CORBA.portable.OutputStream.write_long()

      {
        // Get stream.
        OutputStream out = _request("throwException", true);

        // Write parameter.
        out.write_long(parameter);

        // Call method.
        in = _invoke(out);
      }
    catch (ApplicationException ex)
View Full Code Here

Examples of org.omg.CORBA.portable.OutputStream.write_long()

    if (a_method.equals("_get_theField"))
      {
        int result = (int) 0;
        result = theField();
        out = rh.createReply();
        out.write_long(result);
      }
    else
    /* Set the field value. */
    if (a_method.equals("_set_theField"))
      {
View Full Code Here

Examples of org.omg.CORBA.portable.OutputStream.write_long()

        a_string.value = in.read_string();

        DoubleHolder a_double = new DoubleHolder();
        int result = passSimple(an_octet, a_long, a_short, a_string, a_double);
        out = rh.createReply();
        out.write_long(result);
        out.write_octet(an_octet.value);
        out.write_short(a_short.value);
        out.write_string(a_string.value);
        out.write_double(a_double.value);
      }
View Full Code Here

Examples of org.omg.CORBA.portable.OutputStream.write_long()

  {
    InputStream in = null;
    try
      {
        OutputStream out = _request("setPoaMode", true);
        out.write_long(mode);
        in = _invoke(out);
        return;
      }
    catch (ApplicationException ex)
      {
View Full Code Here

Examples of org.omg.CORBA.portable.OutputStream.write_long()

              if (method.equals("passArray"))
                {
                  int[] arg0 = (int[]) in.read_value(int[].class);
                  int result = target.passArray(arg0);
                  OutputStream out = reply.createReply();
                  out.write_long(result);
                  return out;
                }
            case 11:
              if (method.equals("joinStrings"))
                {
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.