JavaTM 2 Platform
Standard Ed. 6

类 org.omg.CORBA.MARSHAL
的使用

使用 MARSHAL 的软件包
org.omg.CORBA 提供 OMG CORBA API 到 JavaTM 编程语言的映射,包括 ORB 类,如果已实现该类,则程序员可以使用此类作为全功能对象请求代理(Object Request Broker,ORB)。 
 

org.omg.CORBAMARSHAL 的使用
 

抛出 MARSHALorg.omg.CORBA 中的方法
abstract  void Any.insert_string(String s)
          将给定 String 对象插入此 Any 对象的 value 字段。
abstract  void Any.insert_Value(Serializable v, TypeCode t)
          将给定 java.io.Serializable 对象插入此 Any 对象的 value 字段。
abstract  void Any.insert_wstring(String s)
          将给定 String 对象插入此 Any 对象的 value 字段。
abstract  void Any.read_value(InputStream is, TypeCode t)
          使用给定 typecode 读出(解组)给定输入流中某一 Any 对象的值。
 


JavaTM 2 Platform
Standard Ed. 6

提交错误或意见

版权所有 2008 Sun Microsystems, Inc. 保留所有权利。请遵守GNU General Public License, version 2 only