Dear GcDevers. Here is the latest version of the interface which Luis and I have been using as a basis for the StarFC <-> StacsFileIndex interface. david > rmds03 % cat fileCat.idl > // fileCat.idl > // Luis Bernardo <LMBernardo@lbl.gov>, Alex Sim <ASim@lbl.gov> > // Lawrence Berkeley National Laboratory > // May 99 > > #include "smDefs.idl" > #include "queryM.idl" > > struct FileInfo { > FID_T fid; > unsigned long fileSize; > string localFileName; > string remoteFileName; > string tapeID; > }; > > typedef FileInfo FILEINFO_T; > > interface fcFileCatalog { > unsigned long getFileSize(in FID_T fid); > unsigned long getSumFileSizes(in FIDSET_T fset); > FSIZE_SET_T getListFileSizes(in FIDSET_T fset); > FILEINFO_T getFileInfo(in FID_T fid); > }; >
-- BEGIN included message
- To: David Zimmerman <dmzimmerman@lbl.gov>
- Subject: Re: [Fwd: [Fwd: FileCatalog Design Pattern Question]]
- From: Luis Bernardo <bernardo@math.lbl.gov>
- Date: Mon, 24 May 1999 17:19:03 -0700 (PDT)
- In-Reply-To: <3742D535.B7500B5@lbl.gov>
David, I think we changed the interface a bit (added a new function). Luis rmds03 % cat fileCat.idl // fileCat.idl // Luis Bernardo <LMBernardo@lbl.gov>, Alex Sim <ASim@lbl.gov> // Lawrence Berkeley National Laboratory // May 99 #include "smDefs.idl" #include "queryM.idl" struct FileInfo { FID_T fid; unsigned long fileSize; string localFileName; string remoteFileName; string tapeID; }; typedef FileInfo FILEINFO_T; interface fcFileCatalog { unsigned long getFileSize(in FID_T fid); unsigned long getSumFileSizes(in FIDSET_T fset); FSIZE_SET_T getListFileSizes(in FIDSET_T fset); FILEINFO_T getFileInfo(in FID_T fid); };
-- END included message