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

x33g5p2x  于2022-01-21 转载在 其他  
字(4.6k)|赞(0)|评价(0)|浏览(114)

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

InputStream.read_char介绍

暂无

代码示例

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

/**
 * Operation read_char
 */
public char read_char()
{
  return delegate.read_char();
}

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

public static char read (final org.omg.CORBA.portable.InputStream _in)
{
  char _result;
  _result=_in.read_char();
  return _result;
}

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

/**
 * Reads from <code>input</code> and initalizes the value in
 * this <code>CharHolder</code> object
 * with the unmarshalled data.
 *
 * @param input the InputStream containing CDR formatted data from the wire
 */
public void _read(InputStream input) {
  value = input.read_char();
}

代码示例来源:origin: org.jppf/jppf-jmxremote_optional

@Override
public char read_char() {
 return in.read_char();
}

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

public void _read(org.omg.CORBA.portable.InputStream is) {
  value = is.read_char();
}

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

public void _read(org.omg.CORBA.portable.InputStream input) {
  value = input.read_char();
}

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

public void _read(org.omg.CORBA.portable.InputStream is) {
  value = is.read_char();
}

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

public Character readChar() throws CorbaBindingException {
  try {
    return Character.valueOf(stream.read_char());
  } catch (org.omg.CORBA.MARSHAL ex) {
    LOG.log(Level.SEVERE, "CorbaObjectReader: could not read character");
    throw new CorbaBindingException("CorbaObjectReader: readChar MARSHAL exception", ex);
  }
}

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

public char extract_char()
{
  checkExtract (TCKind._tk_char, "Cannot extract char");
  checkNull();
  if (value instanceof Character)
  {
    return ((Character) value).charValue();
  }
  else if (value instanceof CharHolder)
  {
    return ((CharHolder) value).value;
  }
  else if (value instanceof CDROutputStream)
  {
    return create_input_stream().read_char();
  }
  else
  {
    throw new INTERNAL("Encountered unexpected type of value: " +
      value.getClass());
  }
}

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

public static com.sun.corba.se.spi.GIOP.MessageHeader_1_0 read (org.omg.CORBA.portable.InputStream istream)
{
 com.sun.corba.se.spi.GIOP.MessageHeader_1_0 value = new com.sun.corba.se.spi.GIOP.MessageHeader_1_0 ();
 value.magic = new char[4];
 for (int _o0 = 0;_o0 < (4); ++_o0)
 {
  value.magic[_o0] = istream.read_char ();
 }
 value.GIOP_version = com.sun.corba.se.spi.GIOP.VersionHelper.read (istream);
 value.byte_order = istream.read_boolean ();
 value.message_type = istream.read_octet ();
 value.message_size = istream.read_ulong ();
 return value;
}

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

public static com.sun.corba.se.spi.GIOP.MessageHeader_1_1 read (org.omg.CORBA.portable.InputStream istream)
{
 com.sun.corba.se.spi.GIOP.MessageHeader_1_1 value = new com.sun.corba.se.spi.GIOP.MessageHeader_1_1 ();
 value.magic = new char[4];
 for (int _o0 = 0;_o0 < (4); ++_o0)
 {
  value.magic[_o0] = istream.read_char ();
 }
 value.GIOP_version = com.sun.corba.se.spi.GIOP.VersionHelper.read (istream);
 value.flags = istream.read_octet ();
 value.message_type = istream.read_octet ();
 value.message_size = istream.read_ulong ();
 return value;
}

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

org.omg.CORBA.portable.OutputStream $out = _request ("get_char", true);
  $in = _invoke ($out);
  char $result = $in.read_char ();
  return $result;
} catch (org.omg.CORBA.portable.ApplicationException $ex) {

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

org.omg.CORBA.portable.OutputStream $out = _request ("get_char", true);
  $in = _invoke ($out);
  char $result = $in.read_char ();
  return $result;
} catch (org.omg.CORBA.portable.ApplicationException $ex) {

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

value_ = new Character(in.read_char());
break;

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

return (myStream.read_boolean() == otherStream.read_boolean());
case TCKind._tk_char:
  return (myStream.read_char() == otherStream.read_char());
case TCKind._tk_wchar:
  return (myStream.read_wchar() == otherStream.read_wchar());

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

return (myStream.read_boolean() == otherStream.read_boolean());
case TCKind._tk_char :
  return (myStream.read_char() == otherStream.read_char());
case TCKind._tk_wchar :
  return (myStream.read_wchar() == otherStream.read_wchar());

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

l = s.read_char() & 0xFFFFL;
break;

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

l = s.read_char() & 0xFFFFL;
break;

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

l = s.read_char() & 0xFFFFL;
break;

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

_var=in.read_char();
result.CharValue (_var);
break;

相关文章