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.IOP 中 TypeMismatch 的使用
 

拋出 TypeMismatch 的 org.omg.IOP 中的方法
 Any CodecOperations.decode_value(byte[] data, TypeCode tc)
          基於給定的 TypeCode 和對此 Codec 有效的編碼格式,將給定的 byte 陣列解碼為 Any。
 

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

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

參數型別為 TypeMismatch 的 org.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。