org.omg.CORBA.portable.OutputStream.write_char()方法的使用及代码示例

x33g5p2x  于2022-01-26 转载在 其他  
字(5.6k)|赞(0)|评价(0)|浏览(102)

本文整理了Java中org.omg.CORBA.portable.OutputStream.write_char()方法的一些代码示例,展示了OutputStream.write_char()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。OutputStream.write_char()方法的具体详情如下:
包路径:org.omg.CORBA.portable.OutputStream
类名称:OutputStream
方法名:write_char

OutputStream.write_char介绍

暂无

代码示例

代码示例来源:origin: org.jacorb/jacorb

/**
 * Operation write_char
 */
public void write_char( char value )
{
  delegate.write_char( value );
}

代码示例来源:origin: org.jboss.openjdk-orb/openjdk-orb

/**
 * Marshals to <code>output</code> the value in
 * this <code>CharHolder</code> object.
 *
 * @param output the OutputStream which will contain the CDR formatted data
 */
public void _write(OutputStream output) {
  output.write_char(value);
}

代码示例来源:origin: org.mobicents.resources/parlay-provider-api

public static void write (final org.omg.CORBA.portable.OutputStream _out, char _s)
  {
    _out.write_char(_s);
  }
}

代码示例来源:origin: org.apache.yoko/yoko-spec-corba

public void _write(org.omg.CORBA.portable.OutputStream output) {
  output.write_char(value);
}

代码示例来源:origin: org.jacorb/jacorb-omgapi

public void _write(org.omg.CORBA.portable.OutputStream os) {
  os.write_char(value);
}

代码示例来源:origin: JacORB/JacORB

public void _write(org.omg.CORBA.portable.OutputStream os) {
  os.write_char(value);
}

代码示例来源:origin: apache/cxf

public void writeChar(Character c) throws CorbaBindingException {
  if (c == null) {
    stream.write_char((char)0);
  } else {
    stream.write_char(c.charValue());
  }
}

代码示例来源:origin: org.jboss.openjdk-orb/openjdk-orb

public static void write (org.omg.CORBA.portable.OutputStream ostream, com.sun.corba.se.spi.GIOP.MessageHeader_1_0 value)
{
 if (value.magic.length != (4))
  throw new org.omg.CORBA.MARSHAL (0, org.omg.CORBA.CompletionStatus.COMPLETED_MAYBE);
 for (int _i0 = 0;_i0 < (4); ++_i0)
 {
  ostream.write_char (value.magic[_i0]);
 }
 com.sun.corba.se.spi.GIOP.VersionHelper.write (ostream, value.GIOP_version);
 ostream.write_boolean (value.byte_order);
 ostream.write_octet (value.message_type);
 ostream.write_ulong (value.message_size);
}

代码示例来源:origin: org.jboss.openjdk-orb/openjdk-orb

public static void write (org.omg.CORBA.portable.OutputStream ostream, com.sun.corba.se.spi.GIOP.MessageHeader_1_1 value)
{
 if (value.magic.length != (4))
  throw new org.omg.CORBA.MARSHAL (0, org.omg.CORBA.CompletionStatus.COMPLETED_MAYBE);
 for (int _i0 = 0;_i0 < (4); ++_i0)
 {
  ostream.write_char (value.magic[_i0]);
 }
 com.sun.corba.se.spi.GIOP.VersionHelper.write (ostream, value.GIOP_version);
 ostream.write_octet (value.flags);
 ostream.write_octet (value.message_type);
 ostream.write_ulong (value.message_size);
}

代码示例来源:origin: org.jboss.openjdk-orb/openjdk-orb

/**
    * Inserts a char value into the DynAny.
    *
    * @exception InvalidValue if this DynAny has components but has a current position of -1
    * @exception TypeMismatch if called on a DynAny whose current component itself has components
    */
public void insert_char (char value) throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch, org.omg.DynamicAny.DynAnyPackage.InvalidValue
{
     org.omg.CORBA.portable.InputStream $in = null;
     try {
       org.omg.CORBA.portable.OutputStream $out = _request ("insert_char", true);
       $out.write_char (value);
       $in = _invoke ($out);
       return;
     } catch (org.omg.CORBA.portable.ApplicationException $ex) {
       $in = $ex.getInputStream ();
       String _id = $ex.getId ();
       if (_id.equals ("IDL:omg.org/DynamicAny/DynAny/TypeMismatch:1.0"))
         throw org.omg.DynamicAny.DynAnyPackage.TypeMismatchHelper.read ($in);
       else if (_id.equals ("IDL:omg.org/DynamicAny/DynAny/InvalidValue:1.0"))
         throw org.omg.DynamicAny.DynAnyPackage.InvalidValueHelper.read ($in);
       else
         throw new org.omg.CORBA.MARSHAL (_id);
     } catch (org.omg.CORBA.portable.RemarshalException $rm) {
       insert_char (value        );
     } finally {
       _releaseReply ($in);
     }
} // insert_char

代码示例来源:origin: org.jboss.openjdk-orb/openjdk-orb

/**
    * Inserts a char value into the DynAny.
    *
    * @exception InvalidValue if this DynAny has components but has a current position of -1
    * @exception TypeMismatch if called on a DynAny whose current component itself has components
    */
public void insert_char (char value) throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch, org.omg.DynamicAny.DynAnyPackage.InvalidValue
{
     org.omg.CORBA.portable.InputStream $in = null;
     try {
       org.omg.CORBA.portable.OutputStream $out = _request ("insert_char", true);
       $out.write_char (value);
       $in = _invoke ($out);
       return;
     } catch (org.omg.CORBA.portable.ApplicationException $ex) {
       $in = $ex.getInputStream ();
       String _id = $ex.getId ();
       if (_id.equals ("IDL:omg.org/DynamicAny/DynAny/TypeMismatch:1.0"))
         throw org.omg.DynamicAny.DynAnyPackage.TypeMismatchHelper.read ($in);
       else if (_id.equals ("IDL:omg.org/DynamicAny/DynAny/InvalidValue:1.0"))
         throw org.omg.DynamicAny.DynAnyPackage.InvalidValueHelper.read ($in);
       else
         throw new org.omg.CORBA.MARSHAL (_id);
     } catch (org.omg.CORBA.portable.RemarshalException $rm) {
       insert_char (value        );
     } finally {
       _releaseReply ($in);
     }
} // insert_char

代码示例来源:origin: org.apache.yoko/yoko-core

out.write_char(((Character) value_).charValue());
break;

代码示例来源:origin: org.jboss.spec.javax.rmi/jboss-rmi-api_1.0_spec

s.write_char((char) (l & 0xFFFFL));
break;

代码示例来源:origin: org.jboss.openjdk-orb/openjdk-orb

s.write_char((char)(l & 0xFFFFL));
break;

代码示例来源:origin: jboss/jboss-javaee-specs

s.write_char((char) (l & 0xFFFFL));
break;

代码示例来源:origin: jboss/jboss-javaee-specs

dst.write_char(src.read_char());
break;
    char value = src.read_char();
    tagValue.insert_char(value);
    dst.write_char(value);
    break;

代码示例来源:origin: org.jboss.spec.javax.rmi/jboss-rmi-api_1.0_spec

dst.write_char(src.read_char());
break;
    char value = src.read_char();
    tagValue.insert_char(value);
    dst.write_char(value);
    break;

代码示例来源:origin: org.jboss.openjdk-orb/openjdk-orb

dst.write_char(src.read_char());
break;
      dst.write_char(value);
      break;

代码示例来源:origin: org.mobicents.resources/parlay-provider-api

out.write_char(s.CharValue ());
break;

代码示例来源:origin: org.jacorb/jacorb

output.write_char(extract_char());
break;

相关文章