本文整理了Java中org.omg.CORBA_2_3.portable.OutputStream.write_Object()
方法的一些代码示例,展示了OutputStream.write_Object()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。OutputStream.write_Object()
方法的具体详情如下:
包路径:org.omg.CORBA_2_3.portable.OutputStream
类名称:OutputStream
方法名:write_Object
暂无
代码示例来源:origin: wildfly/wildfly
public void write(OutputStream out, Object obj) {
out.write_Object((org.omg.CORBA.Object) obj);
}
}
代码示例来源:origin: wildfly/wildfly
public void write(OutputStream out, Object obj) {
out.write_Object((org.omg.CORBA.Object) obj);
}
}
代码示例来源:origin: org.jboss.spec.javax.rmi/jboss-rmi-api_1.0_spec
public void write(OutputStream os, Object value)
{
os.write_Object((org.omg.CORBA.Object) value);
}
};
代码示例来源:origin: org.jboss.spec.javax.rmi/jboss-rmi-api_1.0_spec
public void write(OutputStream os, Object value)
{
os.write_Object((org.omg.CORBA.Object) value);
}
};
代码示例来源:origin: org.jboss.openjdk-orb/openjdk-orb
public void write( OutputStream os, Object value )
{
os.write_Object( (org.omg.CORBA.Object)value ) ;
}
} ;
代码示例来源:origin: org.jboss.openjdk-orb/openjdk-orb
public void write( OutputStream os, Object value )
{
os.write_Object( (org.omg.CORBA.Object)value ) ;
}
} ;
代码示例来源:origin: jboss/jboss-javaee-specs
public void write(OutputStream os, Object value)
{
os.write_Object((org.omg.CORBA.Object) value);
}
};
代码示例来源:origin: org.jboss.eap/wildfly-iiop-openjdk
public void write(OutputStream out, Object obj) {
out.write_Object((org.omg.CORBA.Object) obj);
}
}
代码示例来源:origin: org.jboss.eap/wildfly-iiop-openjdk
public void write(OutputStream out, Object obj) {
out.write_Object((org.omg.CORBA.Object) obj);
}
}
代码示例来源:origin: jboss/jboss-javaee-specs
public void write(OutputStream os, Object value)
{
os.write_Object((org.omg.CORBA.Object) value);
}
};
代码示例来源:origin: org.wildfly/wildfly-iiop-openjdk
public void write(OutputStream out, Object obj) {
out.write_Object((org.omg.CORBA.Object) obj);
}
}
代码示例来源:origin: org.wildfly/wildfly-iiop-openjdk
public void write(OutputStream out, Object obj) {
out.write_Object((org.omg.CORBA.Object) obj);
}
}
代码示例来源:origin: org.apache.yoko/yoko-rmi-impl
/** Write an instance of this value to a CDR stream */
public void write(org.omg.CORBA.portable.OutputStream out, Object val) {
org.omg.CORBA_2_3.portable.OutputStream _out = (org.omg.CORBA_2_3.portable.OutputStream) out;
// there are two ways we need to deal with IDLEntity classes. Ones that also implement
// the CORBA Object interface are actual corba objects, and must be handled that way.
// Other IDLEntity classes are just transmitted by value.
if (val instanceof org.omg.CORBA.portable.ObjectImpl) {
_out.write_Object((org.omg.CORBA.Object)val);
}
else {
// we directly call write_value() on the stream here, with the explicitly specified
// repository ID. the output stream will handle writing the value tag for us, and eventually
// will call our writeValue() method to serialize the object.
_out.write_value((java.io.Serializable)val, getRepositoryID());
}
}
代码示例来源:origin: org.apache.yoko/yoko-rmi-impl
public void writeObject(javax.rmi.CORBA.Stub stub,
java.io.ObjectOutputStream oos) throws java.io.IOException {
if (oos instanceof CorbaObjectWriter) {
((CorbaObjectWriter) oos).out.write_Object(stub);
} else {
org.omg.CORBA.portable.OutputStream out = RMIState.current()
.getORB().create_output_stream();
out.write_Object(stub);
org.omg.CORBA.portable.InputStream in = out.create_input_stream();
IOR ior = new IOR();
ior.read(in);
ior.write(oos);
}
}
内容来源于网络,如有侵权,请联系作者删除!