OutputObjectState and InputObjectState
Example 2.2. OutputObjectState and InputObjectState class OutputObjectState extends OutputBuffer { public OutputObjectState (Uid newUid, String typeName); public boolean notempty (); public int size (); public Uid stateUid (); public String type (); }; class InputObjectState extends InputBuffer { public OutputObjectState (Uid newUid, String typeName, byte[] b); public boolean notempty (); public int size (); public Uid stateUid (); public String type (); }; The InputObjectState and OutputObjectState classes provides all the functionality of InputBuffer and OutputBuffer, through inheritance, and add two additional instance variables that signify the Uid and type of the object for which the InputObjectStat or OutputObjectState instance is a compressed image. These are used when accessing the object store during storage and retrieval of the object state.