ostore.util
Interface QuickSerializable

All Known Subinterfaces:
BtreeKey, BtreeNode, Cacheable, ContinuousModel, Disseminatable, DisseminatableBucket, Distance, Model, Model.Delta, Model.Prediction, QSComparator, QSPrivateKey, QSPublicKey, QSSignature, SecureHash, SegmentedModel, SegmentedModel.Segment, Selection, SemanticDistanceModel.Filter, Time, VerifiableBlock, VersionPredicate
All Known Implementing Classes:
Acl, Action, All, Array, Btree, Btree.InteriorNode, BucketsToDisseminateEvent, CacheableIdentity, CompositeSelection, CreateObjectReject, CreateObjectReq, CreateObjectResp, DataObject, DataObject.DataBlock, DatePredicate, DDLocateMsg, DDPrefixRouteMsg, DDRouteMsg, DisseminateFragsReq, DisseminateFragsResp, DisseminateTombstoneReq, DisseminateTombstoneResp, DisseminationSetPredicate, Distance.InfiniteDistance, DTreeReq, DTreeResp, Epoch, Fragment, FragmentBucket, FreshPredicate, GenerateFragsBlkReq, GenerateFragsBlkReqContinuation, GenerateFragsBlkResp, GenerateFragsChkptReq, GenerateFragsChkptResp, GuidResult, HeadPredicate, Heartbeat, HMM, HMM.Delta, HMM.Prediction, HMM.Segment, IdentityMessage, InnerRingKeyReqMsg, InnerRingKeyRespMsg, KeyedSelection, KeyShare, LatestHeartbeatReject, LatestHeartbeatReq, LatestHeartbeatResp, LatestHeartbeatRespMsg, LongKey, Matrix, Metadata, NetworkMessage, NodeId, NonceAckMsg, NonceMsg, NumberPredicate, ObjectCreateReq, OSAction, OSAppId, OSMetadata, OSPredicate, OSRequest, OSResult, OSUpdateTuple, OSVersionPredicate, PRCert, Predicate, QSArray, QSBigInteger, QSBool, QSByteArray, QSDate, QSDHPublicKey, QSHashMap, QSInt, QSList, QSLong, QSMACType, QSPair, QSRsaPrivateKey, QSRsaPublicKey, QSSha1RsaSignature, QSString, QSTreeSet, QSVector, QSWindow, QTreeDown, QTreeUp, QueryReq, QueryResp, Range, ReadReq, ReadResp, RecoalesceBlkCancel, RecoalesceBlkReq, ReconstructBlkCancel, ReconstructBlkReq, ReconstructBlkResp, RecordEventReq, RecordEventReq.EventId, RemoteCacheReplyMessage, RemoteCacheRequestMessage, ReplicaReq, ReplicaResp, ResurrectTombReq, ResurrectTombResp, RPCert, SafeBigInt, Screen, SegmentPager.Request, SegmentPager.ReverseRequest, SemanticDistanceModel, SemanticDistanceModel.BoundedPrioQueue, SemanticDistanceModel.BoundedPrioQueue.TupleComparator, SemanticDistanceModel.Delta, SemanticDistanceModel.Prediction, SemanticDistanceModel.Segment, SemanticDistanceModel.Table, SemanticDistanceModel.TestType, SemanticDistanceModel.Tuple, SHA1Hash, SHA1HashKey, SignedQS, SignedQSTree.Root, SigShare, SimpleRealTime, SimpleRealTime.Distance, StatRecorder, STSVerify, TestBlock, ThresholdPublicKey, ThresholdSignature, Time.NeverTime, TimedHeartbeatRejectMsg, TimedHeartbeatReqMsg, TimedHeartbeatRespMsg, TputMicroBenchmarkMessage, TreeKey, Update, UpdateReject, UpdateResp, UpdateRespMsg, UpdateTuple, UpdateVerifiableBlocksReq, UpdateVerifiableBlocksResp, Verifier, VGuidGenerationReject, VGuidGenerationReq, VID, VIDPredicate, VirtualizedNetCert, WeightedAvgFilter

public interface QuickSerializable

The serialization interface of OceanStore. To inherit from this interface, in addition to defining a serialize function, a class should also define a deserialization constructor of the following form

     Constructor (InputBuffer buffer) throws QSException {
         ...
     }
 
which is an inverse of the serialization function (loosely speaking). The throws clause is optional.

Version:
$Id: QuickSerializable.java,v 1.10 2002/06/16 20:25:03 srhea Exp $
Author:
Sean C. Rhea

Method Summary
 void serialize(OutputBuffer buffer)
          Add the object to the buffer.
 

Method Detail

serialize

public void serialize(OutputBuffer buffer)
Add the object to the buffer.

Parameters:
buffer - the output buffer to add the object to