-
- 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 StreamableThe 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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void_read(InputStream istream)Reads data fromistreamand initalizes thevaluefield of the Holder with the unmarshalled data.TypeCode_type()Retrieves theTypeCodeobject corresponding to the value in thevaluefield of the Holder.void_write(OutputStream ostream)Marshals toostreamthe value in thevaluefield of the Holder.
-
-
-
Method Detail
-
_read
void _read(InputStream istream)
Reads data fromistreamand 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 toostreamthe value in thevaluefield of the Holder.- Parameters:
ostream- the CDR OutputStream
-
_type
TypeCode _type()
Retrieves theTypeCodeobject corresponding to the value in thevaluefield of the Holder.- Returns:
- the
TypeCodeobject for the value held in the holder
-
-