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

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

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

InputStream.read_ushort_array介绍

暂无

代码示例

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

/**
 * Operation read_ushort_array
 */
public void read_ushort_array( org.omg.CORBA.UShortSeqHolder seq, int offset, int length )
{
  delegate.read_ushort_array( seq.value, offset, length );
}

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

@Override
public void read_ushort_array(final short[] value, final int offset, final int length) {
 in.read_ushort_array(value, offset, length);
}

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

public static short[] read (org.omg.CORBA.portable.InputStream istream)
{
  short value[] = null;
  int _len0 = istream.read_long ();
  value = new short[_len0];
  istream.read_ushort_array (value, 0, _len0);
  return value;
}

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

public static short[]
read(org.omg.CORBA.portable.InputStream in)
{
  short[] _ob_v;
  int len0 = in.read_ulong();
  _ob_v = new short[len0];
  in.read_ushort_array(_ob_v, 0, len0);
  return _ob_v;
}

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

public static short[] read (final org.omg.CORBA.portable.InputStream _in)
{
  short[] _result;
  int _l_result34 = _in.read_long();
  try
  {
     int x = _in.available();
     if ( x > 0 && _l_result34 > x )
      {
        throw new org.omg.CORBA.MARSHAL("Sequence length too large. Only " + x + " available and trying to assign " + _l_result34);
      }
  }
  catch (java.io.IOException e)
  {
  }
  _result = new short[_l_result34];
  _in.read_ushort_array(_result,0,_l_result34);
  return _result;
}

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

public static InvalidPolicies
read(org.omg.CORBA.portable.InputStream in)
{
  if(!id().equals(in.read_string()))
    throw new org.omg.CORBA.MARSHAL();
  InvalidPolicies _ob_v = new InvalidPolicies();
  int len0 = in.read_ulong();
  _ob_v.indices = new short[len0];
  in.read_ushort_array(_ob_v.indices, 0, len0);
  return _ob_v;
}

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

public static short[] read (final org.omg.CORBA.portable.InputStream _in)
{
  short[] _result;
  int _l_result34 = _in.read_long();
  try
  {
     int x = _in.available();
     if ( x > 0 && _l_result34 > x )
      {
        throw new org.omg.CORBA.MARSHAL("Sequence length too large. Only " + x + " available and trying to assign " + _l_result34);
      }
  }
  catch (java.io.IOException e)
  {
  }
  _result = new short[_l_result34];
  _in.read_ushort_array(_result,0,_l_result34);
  return _result;
}

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

public static org.omg.CORBA.InvalidPolicies read (final org.omg.CORBA.portable.InputStream in)
{
  String id = in.read_string();
  if (!id.equals(id())) throw new org.omg.CORBA.MARSHAL("wrong id: " + id);
  short[] x0;
  int _lx02 = in.read_long();
  try
  {
     int x = in.available();
     if ( x > 0 && _lx02 > x )
      {
        throw new org.omg.CORBA.MARSHAL("Sequence length too large. Only " + x + " available and trying to assign " + _lx02);
      }
  }
  catch (java.io.IOException e)
  {
  }
  x0 = new short[_lx02];
  in.read_ushort_array(x0,0,_lx02);
  final org.omg.CORBA.InvalidPolicies result = new org.omg.CORBA.InvalidPolicies(id, x0);
  return result;
}
public static void write (final org.omg.CORBA.portable.OutputStream out, final org.omg.CORBA.InvalidPolicies s)

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

public static org.omg.CORBA.InvalidPolicies read (final org.omg.CORBA.portable.InputStream in)
{
  String id = in.read_string();
  if (!id.equals(id())) throw new org.omg.CORBA.MARSHAL("wrong id: " + id);
  short[] x0;
  int _lx02 = in.read_long();
  try
  {
     int x = in.available();
     if ( x > 0 && _lx02 > x )
      {
        throw new org.omg.CORBA.MARSHAL("Sequence length too large. Only " + x + " available and trying to assign " + _lx02);
      }
  }
  catch (java.io.IOException e)
  {
  }
  x0 = new short[_lx02];
  in.read_ushort_array(x0,0,_lx02);
  final org.omg.CORBA.InvalidPolicies result = new org.omg.CORBA.InvalidPolicies(id, x0);
  return result;
}
public static void write (final org.omg.CORBA.portable.OutputStream out, final org.omg.CORBA.InvalidPolicies s)

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

stream.read_ushort_array(values, 0, arraySize);
val = values;
break;

相关文章