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

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

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

InputStream.read_ulong介绍

暂无

代码示例

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

public Identifiable readContents(InputStream in)
  {
    int threadPoolToUse = in.read_ulong();
    Identifiable comp =
      new RequestPartitioningComponentImpl(threadPoolToUse);
    return comp;
  }
};

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

public Identifiable readContents(InputStream in)
  {
    int type = in.read_ulong();
    Identifiable comp = new ORBTypeComponentImpl(type);
    return comp;
  }
};

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

/** Helper method that reads an octet array from an input stream.
* Defined as static here so that it can be used in another class.
*/
static public byte[] readOctets( InputStream is )
{
  int len = is.read_ulong() ;
  byte[] data = new byte[len] ;
  is.read_octet_array( data, 0, len ) ;
  return data ;
}

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

/**
 * Helper method that reads an octet array from an input stream. Defined as static here so that it can be used in
 * another class.
 */
static public byte[] readOctets(InputStream is)
{
  int len = is.read_ulong();
  byte[] data = new byte[len];
  is.read_octet_array(data, 0, len);
  return data;
}

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

public Identifiable readContents(InputStream in)
  {
    int threadPoolToUse = in.read_ulong();
    Identifiable comp = new RequestPartitioningComponentImpl(threadPoolToUse);
    return comp;
  }
};

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

public Identifiable readContents(InputStream in)
  {
    int threadPoolToUse = in.read_ulong();
    Identifiable comp = new RequestPartitioningComponentImpl(threadPoolToUse);
    return comp;
  }
};

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

public Identifiable readContents( InputStream in )
  {
    int type = in.read_ulong() ;
    Identifiable comp = new ORBTypeComponentImpl( type ) ;
    return comp ;
  }
} ;

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

/**
 * Helper method that reads an octet array from an input stream. Defined as static here so that it can be used in
 * another class.
 */
static public byte[] readOctets(InputStream is)
{
  int len = is.read_ulong();
  byte[] data = new byte[len];
  is.read_octet_array(data, 0, len);
  return data;
}

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

public Identifiable readContents(InputStream in)
  {
    int type = in.read_ulong();
    Identifiable comp = new ORBTypeComponentImpl(type);
    return comp;
  }
};

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

public TaggedComponent create( org.omg.CORBA.ORB orb,
    org.omg.IOP.TaggedComponent comp )
  {
    EncapsOutputStream os =
      sun.corba.OutputStreamFactory.newEncapsOutputStream((ORB)orb);
    org.omg.IOP.TaggedComponentHelper.write( os, comp ) ;
    InputStream is = (InputStream)(os.create_input_stream() ) ;
    // Skip the component ID: we just wrote it out above
    is.read_ulong() ;

    return (TaggedComponent)create( comp.tag, is ) ;
  }
}

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

int length = in.read_ulong();
int i;

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

int length = in.read_ulong();
int i;

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

int length = in.read_ulong();
int i;

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

int length = in.read_ulong();
int i;

相关文章