本文整理了Java中org.omg.CORBA_2_3.portable.InputStream.read_octet()
方法的一些代码示例,展示了InputStream.read_octet()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。InputStream.read_octet()
方法的具体详情如下:
包路径:org.omg.CORBA_2_3.portable.InputStream
类名称:InputStream
方法名:read_octet
暂无
代码示例来源:origin: wildfly/wildfly
public Object read(InputStream in) {
return new Byte(in.read_octet());
}
}
代码示例来源:origin: org.apache.yoko/yoko-rmi-impl
public int readUnsignedByte() throws java.io.IOException {
int val = in.read_octet();
return val & 0xff;
}
代码示例来源:origin: org.jboss.openjdk-orb/openjdk-orb
public MaxStreamFormatVersionServiceContext(InputStream is,
GIOPVersion gv) {
super(is, gv) ;
maxStreamFormatVersion = is.read_octet();
}
代码示例来源:origin: org.apache.yoko/yoko-rmi-impl
public byte readByte() throws java.io.IOException {
return in.read_octet();
}
代码示例来源:origin: org.jboss.spec.javax.rmi/jboss-rmi-api_1.0_spec
public Object read(InputStream is)
{
byte value = is.read_octet();
return new Byte(value);
}
代码示例来源:origin: org.jboss.openjdk-orb/openjdk-orb
public Object read( InputStream is )
{
byte value = is.read_octet() ;
return new Byte( value ) ;
}
代码示例来源:origin: jboss/jboss-javaee-specs
public Object read(InputStream is)
{
byte value = is.read_octet();
return new Byte(value);
}
代码示例来源:origin: org.jboss.eap/wildfly-iiop-openjdk
public Object read(InputStream in) {
return new Byte(in.read_octet());
}
}
代码示例来源:origin: org.wildfly/wildfly-iiop-openjdk
public Object read(InputStream in) {
return new Byte(in.read_octet());
}
}
代码示例来源:origin: org.jboss.openjdk-orb/openjdk-orb
public Identifiable readContents(InputStream in) {
byte version = in.read_octet();
Identifiable cmp = new JavaSerializationComponent(version);
return cmp;
}
};
代码示例来源:origin: org.jboss.spec.javax.rmi/jboss-rmi-api_1.0_spec
public Identifiable readContents(InputStream in)
{
byte version = in.read_octet();
Identifiable comp = new MaxStreamFormatVersionComponentImpl(version);
return comp;
}
};
代码示例来源:origin: org.jboss.spec.javax.rmi/jboss-rmi-api_1.0_spec
public Identifiable readContents(InputStream in)
{
byte version = in.read_octet();
Identifiable cmp = new JavaSerializationComponent(version);
return cmp;
}
};
代码示例来源:origin: org.jboss.openjdk-orb/openjdk-orb
public Identifiable readContents(InputStream in)
{
byte version = in.read_octet() ;
Identifiable comp = new MaxStreamFormatVersionComponentImpl(version);
return comp ;
}
};
代码示例来源:origin: jboss/jboss-javaee-specs
public Identifiable readContents(InputStream in)
{
byte version = in.read_octet();
Identifiable comp = new MaxStreamFormatVersionComponentImpl(version);
return comp;
}
};
代码示例来源:origin: jboss/jboss-javaee-specs
public Identifiable readContents(InputStream in)
{
byte version = in.read_octet();
Identifiable cmp = new JavaSerializationComponent(version);
return cmp;
}
};
代码示例来源:origin: org.jboss.openjdk-orb/openjdk-orb-jdk9-supplement
public final int readUnsignedByte() throws IOException{
try{
readObjectState.readData(this);
return (orbStream.read_octet() << 0) & 0x000000FF;
} catch (MARSHAL marshalException) {
handleOptionalDataMarshalException(marshalException, false);
throw marshalException;
} catch(Error e) {
IOException exc = new IOException(e.getMessage());
exc.initCause(e);
throw exc ;
}
}
代码示例来源:origin: org.jboss.openjdk-orb/openjdk-orb-jdk9-supplement
public final byte readByte() throws IOException{
try{
readObjectState.readData(this);
return orbStream.read_octet();
} catch (MARSHAL marshalException) {
handleOptionalDataMarshalException(marshalException, false);
throw marshalException;
} catch(Error e) {
IOException exc = new IOException(e.getMessage());
exc.initCause(e);
throw exc ;
}
}
代码示例来源:origin: org.jboss.spec.javax.rmi/jboss-rmi-api_1.0_spec
public IIOPProfileTemplateImpl(InputStream istr)
{
byte major = istr.read_octet();
byte minor = istr.read_octet();
giopVersion = GIOPVersion.getInstance(major, minor);
primary = new IIOPAddressImpl(istr);
orb = (ORB) (istr.orb());
// Handle any tagged components (if applicable)
if (minor > 0)
EncapsulationUtility.readIdentifiableSequence(this, orb.getTaggedComponentFactoryFinder(), istr);
makeImmutable();
}
代码示例来源:origin: org.jboss.openjdk-orb/openjdk-orb
public IIOPProfileTemplateImpl( InputStream istr )
{
byte major = istr.read_octet() ;
byte minor = istr.read_octet() ;
giopVersion = GIOPVersion.getInstance( major, minor ) ;
primary = new IIOPAddressImpl( istr ) ;
orb = (ORB)(istr.orb()) ;
// Handle any tagged components (if applicable)
if (minor > 0)
EncapsulationUtility.readIdentifiableSequence(
this, orb.getTaggedComponentFactoryFinder(), istr ) ;
makeImmutable() ;
}
代码示例来源:origin: jboss/jboss-javaee-specs
public IIOPProfileTemplateImpl(InputStream istr)
{
byte major = istr.read_octet();
byte minor = istr.read_octet();
giopVersion = GIOPVersion.getInstance(major, minor);
primary = new IIOPAddressImpl(istr);
orb = (ORB) (istr.orb());
// Handle any tagged components (if applicable)
if (minor > 0)
EncapsulationUtility.readIdentifiableSequence(this, orb.getTaggedComponentFactoryFinder(), istr);
makeImmutable();
}
内容来源于网络,如有侵权,请联系作者删除!