JavaTM 2 Platform
Standard Ed. 6

类 org.omg.IOP.CodecPackage.TypeMismatch
的使用

使用 TypeMismatch 的软件包
org.omg.IOP 此包包含在 OMG 文档 The Common Object Request Broker: Architecture and Specification http://cgi.omg.org/cgi-bin/doc?formal/99-10-07 的 13.6.小节中指定的 IOP 模块。 
org.omg.IOP.CodecPackage 此包根据 IOP::Codec IDL 接口定义生成。 
 

org.omg.IOPTypeMismatch 的使用
 

抛出 TypeMismatchorg.omg.IOP 中的方法
 Any CodecOperations.decode_value(byte[] data, TypeCode tc)
          基于给定的 TypeCode 和对此 Codec 有效的编码格式,将给定的 byte 数组解码为 Any。
 

org.omg.IOP.CodecPackageTypeMismatch 的使用
 

返回 TypeMismatchorg.omg.IOP.CodecPackage 中的方法
static TypeMismatch TypeMismatchHelper.extract(Any a)
           
static TypeMismatch TypeMismatchHelper.read(InputStream istream)
           
 

参数类型为 TypeMismatchorg.omg.IOP.CodecPackage 中的方法
static void TypeMismatchHelper.insert(Any a, TypeMismatch that)
           
static void TypeMismatchHelper.write(OutputStream ostream, TypeMismatch value)
           
 


JavaTM 2 Platform
Standard Ed. 6

提交错误或意见

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