站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss 4.0.1 sp1 iiop API Documentation 英文版文档

CDRStreamReader (JBoss IIOP Plugin API) - JBoss 4.0.1 sp1 iiop API Documentation 英文版文档


org.jboss.iiop.rmi.marshal
Interface CDRStreamReader


public interface CDRStreamReader

Interface of an object that knows how to unmarshal a Java basic type or object from a CDR input stream. Implementations of this interface are specialized for particular types: an IntReader is a CDRStreamReader that knows how to unmarshal ints, a LongReader is a CDRStreamReader that knows how to unmarshal longs, and so on.

Version:
$Revision: 1.1 $
Author:
Francisco Reverbel

Method Summary
 Object read(InputStream in)
          Unmarshals a Java basic data type or object from a CDR input stream.
 

Method Detail

read

public Object read(InputStream in)
Unmarshals a Java basic data type or object from a CDR input stream.

Parameters:
in - the input stream
Returns:
a basic data type (within a suitable wrapper instance) or object unmarshalled from the stream


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.