本文整理了Java中org.omg.CORBA_2_3.portable.InputStream.read_long()
方法的一些代码示例,展示了InputStream.read_long()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。InputStream.read_long()
方法的具体详情如下:
包路径:org.omg.CORBA_2_3.portable.InputStream
类名称:InputStream
方法名:read_long
暂无
代码示例来源:origin: wildfly/wildfly
public Object read(InputStream in) {
return new Integer(in.read_long());
}
}
代码示例来源:origin: org.jboss.spec.javax.rmi/jboss-rmi-api_1.0_spec
/**
* This constructor reads the template ONLY from the stream
*/
public OldPOAObjectKeyTemplate(ORB orb, int magic, int scid, InputStream is)
{
this(orb, magic, scid, is.read_long(), is.read_long(), is.read_long());
}
代码示例来源:origin: org.jboss.openjdk-orb/openjdk-orb
public OldJIDLObjectKeyTemplate(ORB orb, int magic, int scid, InputStream is)
{
this( orb, magic, scid, is.read_long() ) ;
}
代码示例来源:origin: org.jboss.openjdk-orb/openjdk-orb
public Object read( InputStream is )
{
int value = is.read_long() ;
return new Integer( value ) ;
}
代码示例来源:origin: org.jboss.spec.javax.rmi/jboss-rmi-api_1.0_spec
public Object read(InputStream is)
{
int value = is.read_long();
return new Integer(value);
}
代码示例来源:origin: org.wildfly/wildfly-iiop-openjdk
public Object read(InputStream in) {
return new Integer(in.read_long());
}
}
代码示例来源:origin: org.jboss.openjdk-orb/openjdk-orb
public UnknownServiceContext( int id, InputStream is )
{
this.id = id ;
int len = is.read_long();
data = new byte[len];
is.read_octet_array(data,0,len);
}
代码示例来源:origin: jboss/jboss-javaee-specs
protected byte[] readObjectKey(InputStream is)
{
int len = is.read_long();
byte[] result = new byte[len];
is.read_octet_array(result, 0, len);
return result;
}
代码示例来源:origin: org.jboss.openjdk-orb/openjdk-orb
/** This constructor reads the template ONLY from the stream.
*/
public JIDLObjectKeyTemplate( ORB orb, int magic, int scid, InputStream is )
{
super( orb, magic, scid, is.read_long(), JIDL_ORB_ID, JIDL_OAID );
setORBVersion( is ) ;
}
代码示例来源:origin: org.jboss.spec.javax.rmi/jboss-rmi-api_1.0_spec
/**
* This constructor reads the template ONLY from the stream.
*/
public JIDLObjectKeyTemplate(ORB orb, int magic, int scid, InputStream is)
{
super(orb, magic, scid, is.read_long(), JIDL_ORB_ID, JIDL_OAID);
setORBVersion(is);
}
代码示例来源:origin: org.jboss.spec.javax.rmi/jboss-rmi-api_1.0_spec
protected byte[] readObjectKey(InputStream is)
{
int len = is.read_long();
byte[] result = new byte[len];
is.read_octet_array(result, 0, len);
return result;
}
代码示例来源:origin: org.jboss.spec.javax.rmi/jboss-rmi-api_1.0_spec
/**
* This constructor reads a complete ObjectKey (template and Id) from the stream.
*/
public JIDLObjectKeyTemplate(ORB orb, int magic, int scid, InputStream is, OctetSeqHolder osh)
{
super(orb, magic, scid, is.read_long(), JIDL_ORB_ID, JIDL_OAID);
osh.value = readObjectKey(is);
setORBVersion(is);
}
代码示例来源:origin: org.jboss.openjdk-orb/openjdk-orb
/** This constructor reads a complete ObjectKey (template and Id)
* from the stream.
*/
public JIDLObjectKeyTemplate( ORB orb, int magic, int scid, InputStream is,
OctetSeqHolder osh )
{
super( orb, magic, scid, is.read_long(), JIDL_ORB_ID, JIDL_OAID );
osh.value = readObjectKey( is ) ;
setORBVersion( is ) ;
}
代码示例来源:origin: jboss/jboss-javaee-specs
/**
* This constructor reads a complete ObjectKey (template and Id) from the stream.
*/
public JIDLObjectKeyTemplate(ORB orb, int magic, int scid, InputStream is, OctetSeqHolder osh)
{
super(orb, magic, scid, is.read_long(), JIDL_ORB_ID, JIDL_OAID);
osh.value = readObjectKey(is);
setORBVersion(is);
}
代码示例来源:origin: org.jboss.spec.javax.rmi/jboss-rmi-api_1.0_spec
public IORTemplateListImpl(InputStream is)
{
this();
int size = is.read_long();
for (int ctr = 0; ctr < size; ctr++)
{
IORTemplate iortemp = IORFactories.makeIORTemplate(is);
add(iortemp);
}
makeImmutable();
}
代码示例来源:origin: org.jboss.openjdk-orb/openjdk-orb
/** This constructor reads the template ONLY from the stream.
*/
public POAObjectKeyTemplate( ORB orb, int magic, int scid, InputStream is )
{
super( orb, magic, scid, is.read_long(), is.read_string(),
new ObjectAdapterIdArray( POANameHelper.read( is ) ) ) ;
setORBVersion( is ) ;
}
代码示例来源:origin: jboss/jboss-javaee-specs
/**
* This constructor reads the template ONLY from the stream.
*/
public POAObjectKeyTemplate(ORB orb, int magic, int scid, InputStream is)
{
super(orb, magic, scid, is.read_long(), is.read_string(), new ObjectAdapterIdArray(POANameHelper.read(is)));
setORBVersion(is);
}
代码示例来源:origin: org.jboss.spec.javax.rmi/jboss-rmi-api_1.0_spec
/**
* This constructor reads the template ONLY from the stream.
*/
public POAObjectKeyTemplate(ORB orb, int magic, int scid, InputStream is)
{
super(orb, magic, scid, is.read_long(), is.read_string(), new ObjectAdapterIdArray(POANameHelper.read(is)));
setORBVersion(is);
}
代码示例来源:origin: org.jboss.openjdk-orb/openjdk-orb
/** This constructor reads a complete ObjectKey (template and Id)
* from the stream.
*/
public POAObjectKeyTemplate( ORB orb, int magic, int scid, InputStream is,
OctetSeqHolder osh )
{
super( orb, magic, scid, is.read_long(), is.read_string(),
new ObjectAdapterIdArray( POANameHelper.read( is ) ) ) ;
osh.value = readObjectKey( is ) ;
setORBVersion( is ) ;
}
代码示例来源:origin: jboss/jboss-javaee-specs
/**
* This constructor reads a complete ObjectKey (template and Id) from the stream.
*/
public POAObjectKeyTemplate(ORB orb, int magic, int scid, InputStream is, OctetSeqHolder osh)
{
super(orb, magic, scid, is.read_long(), is.read_string(), new ObjectAdapterIdArray(POANameHelper.read(is)));
osh.value = readObjectKey(is);
setORBVersion(is);
}
内容来源于网络,如有侵权,请联系作者删除!