public Object recover(InputStream in) throws Exception {
  MarshalInputStream s=new MarshalInputStream(in);
  return s.readObject();
}

public Object recover ( InputStream in ) throws Exception { MarshalInputStream s = new MarshalInputStream ( in ) ; return s . readObject ( ) ; }
read the snapshot object from a stream and returns the snapshot . this callback is invoked when the client calls the recover method of reliablelog .
