本文整理了Java中org.omg.CORBA.portable.InputStream.read_octet()
方法的一些代码示例,展示了InputStream.read_octet()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。InputStream.read_octet()
方法的具体详情如下:
包路径:org.omg.CORBA.portable.InputStream
类名称:InputStream
方法名:read_octet
暂无
代码示例来源:origin: org.jacorb/jacorb
/**
* Operation read_octet
*/
public byte read_octet()
{
return delegate.read_octet();
}
代码示例来源:origin: org.jboss.spec.javax.rmi/jboss-rmi-api_1.0_spec
public void read(org.omg.CORBA.portable.InputStream istream)
{
this.major = istream.read_octet();
this.minor = istream.read_octet();
}
代码示例来源:origin: org.jboss.openjdk-orb/openjdk-orb
/**
* Reads from <code>input</code> and initalizes the value in
* this <code>ByteHolder</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_octet();
}
代码示例来源:origin: org.apache.yoko/yoko-spec-corba
public static Version
read(org.omg.CORBA.portable.InputStream in)
{
Version _ob_v = new Version();
_ob_v.major = in.read_octet();
_ob_v.minor = in.read_octet();
return _ob_v;
}
代码示例来源:origin: JacORB/JacORB
public static org.omg.GIOP.Version read (final org.omg.CORBA.portable.InputStream in)
{
org.omg.GIOP.Version result = new org.omg.GIOP.Version();
result.major=in.read_octet();
result.minor=in.read_octet();
return result;
}
public static void write (final org.omg.CORBA.portable.OutputStream out, final org.omg.GIOP.Version s)
代码示例来源:origin: org.jboss.openjdk-orb/openjdk-orb
public static com.sun.corba.se.spi.GIOP.Version read (org.omg.CORBA.portable.InputStream istream)
{
com.sun.corba.se.spi.GIOP.Version value = new com.sun.corba.se.spi.GIOP.Version ();
value.major = istream.read_octet ();
value.minor = istream.read_octet ();
return value;
}
代码示例来源:origin: org.jacorb/jacorb-omgapi
public static org.omg.IIOP.Version read (final org.omg.CORBA.portable.InputStream in)
{
org.omg.IIOP.Version result = new org.omg.IIOP.Version();
result.major=in.read_octet();
result.minor=in.read_octet();
return result;
}
public static void write (final org.omg.CORBA.portable.OutputStream out, final org.omg.IIOP.Version s)
代码示例来源:origin: org.jacorb/jacorb-omgapi
public static org.omg.GIOP.Version read (final org.omg.CORBA.portable.InputStream in)
{
org.omg.GIOP.Version result = new org.omg.GIOP.Version();
result.major=in.read_octet();
result.minor=in.read_octet();
return result;
}
public static void write (final org.omg.CORBA.portable.OutputStream out, final org.omg.GIOP.Version s)
代码示例来源:origin: apache/cxf
public Byte readOctet() throws CorbaBindingException {
try {
return Byte.valueOf(stream.read_octet());
} catch (org.omg.CORBA.MARSHAL ex) {
LOG.log(Level.SEVERE, "CorbaObjectReader: could not read octet");
throw new CorbaBindingException("CorbaObjectReader: readOctet MARSHAL exception", ex);
}
}
代码示例来源:origin: org.jboss.openjdk-orb/openjdk-orb
public static org.omg.IOP.Encoding read (org.omg.CORBA.portable.InputStream istream)
{
org.omg.IOP.Encoding value = new org.omg.IOP.Encoding ();
value.format = istream.read_short ();
value.major_version = istream.read_octet ();
value.minor_version = istream.read_octet ();
return value;
}
代码示例来源:origin: org.jboss.openjdk-orb/openjdk-orb
public static ORBVersion create( InputStream is )
{
byte value = is.read_octet() ;
return byteToVersion( value ) ;
}
代码示例来源:origin: org.apache.yoko/yoko-rmi-impl
public java.io.Serializable readValue(
org.omg.CORBA.portable.InputStream in, java.util.Map offsetMap,
Integer key) {
byte[] arr = new byte[in.read_long()];
offsetMap.put(key, arr);
for (int i = 0; i < arr.length; i++) {
arr[i] = in.read_octet();
}
return (java.io.Serializable) arr;
}
代码示例来源:origin: org.jboss.spec.javax.rmi/jboss-rmi-api_1.0_spec
public static ORBVersion create(InputStream is)
{
byte value = is.read_octet();
return byteToVersion(value);
}
代码示例来源:origin: org.apache.yoko/yoko-spec-corba
public static Encoding
read(org.omg.CORBA.portable.InputStream in)
{
Encoding _ob_v = new Encoding();
_ob_v.format = EncodingFormatHelper.read(in);
_ob_v.major_version = in.read_octet();
_ob_v.minor_version = in.read_octet();
return _ob_v;
}
代码示例来源:origin: org.jacorb/jacorb-omgapi
public static org.omg.IOP.Encoding read (final org.omg.CORBA.portable.InputStream in)
{
org.omg.IOP.Encoding result = new org.omg.IOP.Encoding();
result.format=in.read_short();
result.major_version=in.read_octet();
result.minor_version=in.read_octet();
return result;
}
public static void write (final org.omg.CORBA.portable.OutputStream out, final org.omg.IOP.Encoding s)
代码示例来源:origin: org.mobicents.resources/parlay-provider-api
public static byte[] read (final org.omg.CORBA.portable.InputStream _in)
{
byte[] _result;
int _l_result63 = _in.read_long();
_result = new byte[_l_result63];
for (int i=0;i<_result.length;i++)
{
_result[i]=_in.read_octet();
}
return _result;
}
代码示例来源:origin: org.mobicents.resources/parlay-provider-api
public static byte[] read (final org.omg.CORBA.portable.InputStream _in)
{
byte[] _result;
int _l_result60 = _in.read_long();
_result = new byte[_l_result60];
for (int i=0;i<_result.length;i++)
{
_result[i]=_in.read_octet();
}
return _result;
}
代码示例来源:origin: jboss/jboss-javaee-specs
public static ORBVersion create(InputStream is)
{
byte value = is.read_octet();
return byteToVersion(value);
}
代码示例来源:origin: org.jacorb/jacorb-omgapi
public static org.omg.GIOP.MessageHeader_1_1 read (final org.omg.CORBA.portable.InputStream in)
{
org.omg.GIOP.MessageHeader_1_1 result = new org.omg.GIOP.MessageHeader_1_1();
result.magic = org.omg.GIOP.MagicnHelper.read(in);
result.GIOP_version=org.omg.GIOP.VersionHelper.read(in);
result.flags=in.read_octet();
result.message_type=in.read_octet();
result.message_size=in.read_ulong();
return result;
}
public static void write (final org.omg.CORBA.portable.OutputStream out, final org.omg.GIOP.MessageHeader_1_1 s)
代码示例来源:origin: org.jacorb/jacorb-omgapi
public static org.omg.GIOP.MessageHeader_1_0 read (final org.omg.CORBA.portable.InputStream in)
{
org.omg.GIOP.MessageHeader_1_0 result = new org.omg.GIOP.MessageHeader_1_0();
result.magic = org.omg.GIOP.MagicnHelper.read(in);
result.GIOP_version=org.omg.GIOP.VersionHelper.read(in);
result.byte_order=in.read_boolean();
result.message_type=in.read_octet();
result.message_size=in.read_ulong();
return result;
}
public static void write (final org.omg.CORBA.portable.OutputStream out, final org.omg.GIOP.MessageHeader_1_0 s)
内容来源于网络,如有侵权,请联系作者删除!