| JavaTM 2 Platform Std. Ed. v1.6.0 
 
org.omg.CORBA.portable
Interface Streamable
All Known Subinterfaces: StreamableValue 
All Known Implementing Classes: AlreadyBoundHolder, AnyHolder, AnySeqHolder, BindingHolder, BindingIteratorHolder, BindingListHolder, BindingTypeHolder, BooleanHolder, BooleanSeqHolder, ByteHolder, CannotProceedHolder, CharHolder, CharSeqHolder, CookieHolder, CurrentHolder, DoubleHolder, DoubleSeqHolder, FixedHolder, FloatHolder, FloatSeqHolder, IntHolder, InvalidAddressHolder, InvalidNameHolder, IORHolder, IORInterceptor_3_0Holder, LongHolder, LongLongSeqHolder, LongSeqHolder, MultipleComponentProfileHolder, NameComponentHolder, NameHolder, NamingContextExtHolder, NamingContextHolder, NotEmptyHolder, NotFoundHolder, NotFoundReasonHolder, ObjectHolder, ObjectReferenceFactoryHolder, ObjectReferenceTemplateHolder, ObjectReferenceTemplateSeqHolder, OctetSeqHolder, ParameterModeHolder, PolicyErrorHolder, PolicyHolder, PolicyListHolder, PrincipalHolder, ServiceContextHolder, ServiceContextListHolder, ServiceInformationHolder, ShortHolder, ShortSeqHolder, StringHolder, StringSeqHolder, TaggedComponentHolder, TaggedProfileHolder, TypeCodeHolder, ULongLongSeqHolder, ULongSeqHolder, UnknownUserExceptionHolder, UShortSeqHolder, ValueBaseHolder, WCharSeqHolder, WrongTransactionHolder, WStringSeqHolder 
 
public interface Streamable 
The base class for the Holder classess of all complex
 IDL types. The ORB treats all generated Holders as Streamable to invoke
 the methods for marshalling and unmarshalling.
 
 
 
Since:JDK1.2 
 
 
| Method Summary |  
|  void | _read(InputStream istream)Reads data from
 istreamand initalizes thevaluefield of the Holder with the unmarshalled data. |  
|  TypeCode | _type()Retrieves the
 TypeCodeobject corresponding to the value
 in thevaluefield of the Holder. |  
|  void | _write(OutputStream ostream)Marshals to
 ostreamthe value in thevaluefield of the Holder. |  
 
_read
void _read(InputStream istream) 
Reads data from istreamand initalizes thevaluefield of the Holder with the unmarshalled data.
 
Parameters:istream- the InputStream that represents the CDR data from the wire. 
 
_write
void _write(OutputStream ostream) 
Marshals to ostreamthe value in thevaluefield of the Holder.
 
Parameters:ostream- the CDR OutputStream 
 
_type
TypeCode _type() 
Retrieves the TypeCodeobject corresponding to the value
 in thevaluefield of the Holder.
 
Returns:the TypeCodeobject for the value held in the holder 
 Copyright 2003 Sun Microsystems, Inc. All rights reserved |