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

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


org.jboss.iiop.rmi.marshal
Interface CDRStreamWriter


public interface CDRStreamWriter

Interface of an object that knows how to marshal a Java basic type or object into a CDR input stream. Implementations of this interface are specialized for particular types: an IntWriter is a CDRStreamWriter that knows how to marshal ints, a LongWriter is a CDRStreamWriter that knows how to marshal longs, and so on.

Version:
$Revision: 1.1 $
Author:
Francisco Reverbel

Method Summary
 void write(OutputStream out, Object obj)
          Marshals a Java basic data type or object into a CDR output stream.
 

Method Detail

write

public void write(OutputStream out,
                  Object obj)
Marshals a Java basic data type or object into a CDR output stream.

Parameters:
out - the output stream
obj - the basic data type (within a suitable wrapper instance) or object to be marshalled


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