Package org.omg.CORBA.portable
Interface Streamable
- All Known Subinterfaces:
StreamableValue
- All Known Implementing Classes:
AbstractInterfaceDefHolder,AbstractInterfaceDefSeqHolder,ActivatorHolder,AdapterAlreadyExistsHolder,AdapterInactiveHolder,AdapterNonExistentHolder,AliasDefHolder,AlreadyBoundHolder,AnyHolder,AnySeqHolder,AnySeqHolder,ArrayDefHolder,AS_ContextSecHolder,AttrDescriptionSeqHolder,AttributeDefHolder,AttributeDescriptionHolder,AttributeModeHolder,AuthorizationElementContentsHolder,AuthorizationElementHolder,AuthorizationTokenHolder,BadServerDefinitionHolder,BindingHolder,BindingIteratorHolder,BindingListHolder,BindingTypeHolder,BooleanHolder,BooleanSeqHolder,ByteHolder,CannotProceedHolder,CharHolder,CharSeqHolder,ClientRequestInfoHolder,ClientRequestInterceptorHolder,CodecFactoryHolder,CodecHolder,CompleteEstablishContextHolder,ComponentDefHolder,ComponentDescriptionHolder,CompoundSecMechanismsHolder,CompoundSecMechHolder,CompoundSecMechListHolder,ConstantDefHolder,ConstantDescriptionHolder,ConsumesDefHolder,ContainedHolder,ContainedSeqHolder,ContainerHolder,ContainerHolder,ContextErrorHolder,ContextIdSeqHolder,CookieHolder,CurrentHolder,CurrentHolder,DefinitionKindHolder,DescriptionHolder,DescriptionHolder,DescriptionSeqHolder,DoubleHolder,DoubleSeqHolder,DuplicateNameHolder,DynAnyFactoryHolder,DynAnyHolder,DynAnySeqHolder,DynArrayHolder,DynEnumHolder,DynFixedHolder,DynSequenceHolder,DynStructHolder,DynUnionHolder,DynValueBoxHolder,DynValueCommonHolder,DynValueHolder,EmitsDefHolder,EncodingHolder,EndPointInfoHolder,EndpointInfoListHolder,EnumDefHolder,EnumMemberSeqHolder,ErrorTokenHolder,EstablishContextHolder,EventDefHolder,EventPortDefHolder,EventPortDescriptionHolder,EventPortDescriptionSeqHolder,ExcDescriptionSeqHolder,ExceptionDefHolder,ExceptionDefSeqHolder,ExceptionDescriptionHolder,ExceptionListHolder,ExtAbstractInterfaceDefHolder,ExtAbstractInterfaceDefSeqHolder,ExtAttrDescriptionSeqHolder,ExtAttributeDefHolder,ExtAttributeDescriptionHolder,ExtFullInterfaceDescriptionHolder,ExtFullValueDescriptionHolder,ExtInitializerHolder,ExtInitializerSeqHolder,ExtInterfaceDefHolder,ExtInterfaceDefSeqHolder,ExtLocalInterfaceDefHolder,ExtLocalInterfaceDefSeqHolder,ExtValueDefHolder,ExtValueDefSeqHolder,FactoryDefHolder,FinderDefHolder,FixedDefHolder,FixedHolder,FloatHolder,FloatSeqHolder,FormatMismatchHolder,ForwardRequestHolder,ForwardRequestHolder,FullInterfaceDescriptionHolder,FullValueDescriptionHolder,GSS_NT_ExportedNameHolder,GSS_NT_ExportedNameListHolder,GSSTokenHolder,HomeDefHolder,HomeDescriptionHolder,IdAssignmentPolicyValueHolder,IdentityExtensionHolder,IdentityTokenHolder,IDLTypeHolder,IdUniquenessPolicyValueHolder,ImplicitActivationPolicyValueHolder,InconsistentTypeCodeHolder,InitialContextTokenHolder,InitializerHolder,InitializerSeqHolder,InitialNameServiceHolder,InterceptorHolder,InterfaceAttrExtensionHolder,InterfaceDefHolder,InterfaceDefSeqHolder,InterfaceDescriptionHolder,IntHolder,InvalidAddressHolder,InvalidNameHolder,InvalidNameHolder,InvalidORBidHolder,InvalidPolicyHolder,InvalidSlotHolder,InvalidTypeForEncodingHolder,InvalidValueHolder,IORHolder,IORInfoHolder,IORInterceptor_3_0Holder,IORInterceptorHolder,IRObjectHolder,LifespanPolicyValueHolder,LocalInterfaceDefHolder,LocalInterfaceDefSeqHolder,LocatorHolder,LongHolder,LongLongSeqHolder,LongSeqHolder,MessageInContextHolder,ModuleDefHolder,ModuleDefHolder,ModuleDescriptionHolder,MultipleComponentProfileHolder,NameAlreadyBoundHolder,NameComponentHolder,NameDynAnyPairHolder,NameDynAnyPairSeqHolder,NameHolder,NameValuePairHolder,NameValuePairSeqHolder,NamingContextExtHolder,NamingContextHolder,NativeDefHolder,NoContextHolder,NoServantHolder,NoSuchEndPointHolder,NotEmptyHolder,NotFoundHolder,NotFoundReasonHolder,ObjectAlreadyActiveHolder,ObjectHolder,ObjectIdHolder,ObjectNotActiveHolder,ObjectReferenceFactoryHolder,ObjectReferenceFactoryImpl,ObjectReferenceTemplateHolder,ObjectReferenceTemplateImpl,ObjectReferenceTemplateSeqHolder,OctetSeqHolder,OIDHolder,OIDListHolder,OpDescriptionSeqHolder,OperationDefHolder,OperationDescriptionHolder,OperationModeHolder,ORBAlreadyRegisteredHolder,ORBidListHolder,ORBInitializerHolder,ORBInitInfoHolder,ORBPortInfoHolder,ORBPortInfoListHolder,ParameterDescriptionHolder,ParameterHolder,ParameterListHolder,ParameterModeHolder,ParDescriptionSeqHolder,POAListHolder,POANameHolder,PolicyErrorHolder,PolicyFactoryHolder,PolicyHolder,PolicyListHolder,PrimitiveDefHolder,PrimitiveKindHolder,PrincipalHolder,ProvidesDefHolder,ProvidesDescriptionHolder,ProvidesDescriptionSeqHolder,PublishesDefHolder,RepositoryHolder,RepositoryHolder,RepositoryHolder,RepositoryIdSeqHolder,RequestInfoHolder,RequestProcessingPolicyValueHolder,SAS_ContextSecHolder,SASContextBodyHolder,SASCurrentHolder,SECIOP_SEC_TRANSHolder,SequenceDefHolder,ServantActivatorHolder,ServantAlreadyActiveHolder,ServantLocatorHolder,ServantNotActiveHolder,ServantRetentionPolicyValueHolder,ServerAlreadyActiveHolder,ServerAlreadyInstalledHolder,ServerAlreadyRegisteredHolder,ServerAlreadyUninstalledHolder,ServerDefHolder,ServerHeldDownHolder,ServerHolder,ServerIdsHolder,ServerLocationHolder,ServerLocationPerORBHolder,ServerManagerHolder,ServerNotActiveHolder,ServerNotRegisteredHolder,ServerRequestInfoHolder,ServerRequestInterceptorHolder,ServiceConfigurationHolder,ServiceConfigurationListHolder,ServiceContextHolder,ServiceContextListHolder,ServiceInformationHolder,ServiceSpecificNameHolder,ShortHolder,ShortSeqHolder,SSLHolder,StateHolder,StringDefHolder,StringHolder,StringSeqHolder,StringSeqHolder,StructDefHolder,StructMemberHolder,StructMemberSeqHolder,TaggedComponentHolder,TaggedComponentSeqHolder,TaggedProfileHolder,TaggedProfileSeqHolder,TCKindHolder,ThreadPolicyValueHolder,TLS_SEC_TRANSHolder,TransportAddressHolder,TransportAddressListHolder,TypeCodeHolder,TypedefDefHolder,TypeDescriptionHolder,TypeMismatchHolder,TypeMismatchHolder,ULongLongSeqHolder,ULongSeqHolder,UnionDefHolder,UnionMemberHolder,UnionMemberSeqHolder,UnknownEncodingHolder,UnknownUserExceptionHolder,UsesDefHolder,UsesDescriptionHolder,UsesDescriptionSeqHolder,UShortSeqHolder,UTF8StringHolder,ValueBaseHolder,ValueBoxDefHolder,ValueDefHolder,ValueDefSeqHolder,ValueDescriptionHolder,ValueMemberDefHolder,ValueMemberHolder,ValueMemberSeqHolder,WCharSeqHolder,WrongAdapterHolder,WrongPolicyHolder,WrongTransactionHolder,WstringDefHolder,WStringSeqHolder,X501DistinguishedNameHolder,X509CertificateChainHolder
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
Modifier and TypeMethodDescriptionvoid_read(InputStream istream) Reads data fromistreamand initalizes thevaluefield of the Holder with the unmarshalled data._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 Details
-
_read
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
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
-