Package fr.dyade.aaa.common.stream
Interface Streamable
-
- All Known Implementing Classes:
AbstractAdminMessage,AbstractJmsMessage,AbstractJmsReply,AbstractJmsRequest,ActivateConsumerRequest,AddClientIDReply,AddClientIDRequest,AddDomainRequest,AddRemoteDestination,AddServerRequest,AddServiceRequest,AdminCommandReply,AdminCommandRequest,AdminReply,AdminRequest,ClearQueue,ClearSubscription,ClusterAdd,ClusterLeave,ClusterList,ClusterListReply,CnxCloseReply,CnxCloseRequest,CnxConnectReply,CnxConnectRequest,CnxStartRequest,CnxStopRequest,CommitRequest,ConsumerAckRequest,ConsumerCloseSubRequest,ConsumerDenyRequest,ConsumerMessages,ConsumerReceiveRequest,ConsumerSetListRequest,ConsumerSubRequest,ConsumerUnsetListRequest,ConsumerUnsubRequest,CreateDestinationReply,CreateDestinationRequest,CreateUserReply,CreateUserRequest,DeleteDestination,DeleteQueueMessage,DeleteSubscriptionMessage,DeleteUser,DelRemoteDestination,DestinationAdminRequest,GetAdminTopicReply,GetAdminTopicRequest,GetConfigRequest,GetDeliveredMessages,GetDestinationsReply,GetDestinationsRequest,GetDMQSettingsReply,GetDMQSettingsRequest,GetDomainNames,GetDomainNamesRep,GetFatherReply,GetFatherRequest,GetJMXAttsReply,GetJMXAttsRequest,GetLocalServer,GetLocalServerRep,GetNbMaxMsgRequest,GetNumberReply,GetPendingMessages,GetPendingRequests,GetQueueMessage,GetQueueMessageIds,GetQueueMessageIdsRep,GetQueueMessageRep,GetRightsReply,GetRightsRequest,GetServersIdsReply,GetServersIdsRequest,GetStatsReply,GetStatsRequest,GetSubscriberIds,GetSubscriberIdsRep,GetSubscription,GetSubscriptionMessage,GetSubscriptionMessageIds,GetSubscriptionMessageIdsRep,GetSubscriptionMessageRep,GetSubscriptionRep,GetSubscriptions,GetSubscriptionsRep,GetSubscriptionsRequest,GetUsersReply,GetUsersRequest,Identity,JmsRequestGroup,JonasIdentity,Message,MomExceptionReply,PingRequest,ProducerMessages,QBrowseReply,QBrowseRequest,RemoveDomainRequest,RemoveServerRequest,RemoveServiceRequest,ScaleRequest,SendDestinationsWeights,ServerReply,SessAckRequest,SessCreateDestReply,SessCreateDestRequest,SessDenyRequest,SetDMQRequest,SetFather,SetNbMaxMsgRequest,SetReader,SetRight,SetSyncExceptionOnFullDestRequest,SetThresholdRequest,SetWriter,SimpleIdentity,StopServerRequest,SubscriptionAdminRequest,TempDestDeleteRequest,UnsetReader,UnsetWriter,UpdateUser,UserAdminRequest,XACnxCommit,XACnxPrepare,XACnxRecoverReply,XACnxRecoverRequest,XACnxRollback
public interface StreamableThis interface allows to read/write the content of an object on a IO stream.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidreadFrom(InputStream is)The object implements the readFrom method to restore its contents from the input stream.voidwriteTo(OutputStream os)The object implements the writeTo method to write its contents to the output stream.
-
-
-
Method Detail
-
writeTo
void writeTo(OutputStream os) throws IOException
The object implements the writeTo method to write its contents to the output stream.- Parameters:
os- the stream to write the object to- Throws:
IOException- an error occurs during IO operation.
-
readFrom
void readFrom(InputStream is) throws IOException
The object implements the readFrom method to restore its contents from the input stream.- Parameters:
is- the stream to read data from in order to restore the object- Throws:
IOException- an error occurs during IO operation.
-
-