Changeset 2249
- Timestamp:
- 2001-04-02T15:57:33+12:00 (23 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/java-client/corbaiface.idl
r2232 r2249 6 6 7 7 typedef sequence<string> stringSeq; 8 9 //10 // Used to textual arguments backwards and forwards across11 // the interface. The encoding is 0 for full unicode character12 // data and undefined otherwise.13 //14 8 15 9 struct corbatext_t … … 17 11 usString text; 18 12 unsigned short encoding; 19 unsigned long longlength;13 unsigned long length; 20 14 }; 21 15 … … 23 17 24 18 typedef corbatext_tarray corbatext_tset; 25 26 //27 // A map of names to values. Names may occur twice. Used largely28 // for passing metadata around29 //30 19 31 20 struct corbatext_tmap … … 38 27 39 28 enum corbaComError 40 { 41 // There were no errors 42 corbaNoError, 43 // The server could not authenticate the client or the 44 // authentication indicated insufficient priviledges 29 { corbaNoError, 45 30 corbaAuthenticationFailure, 46 // ??47 31 corbaProtocolError, 48 // ??49 32 corbaConfigurationError, 50 // The server is unable to provide service due to an51 // unspecified system problem on the server side.52 33 corbaSystemProblem 53 34 }; … … 59 40 struct corbaShortColInfo 60 41 { 61 // the textual name of the collection62 42 corbatext_t name; 63 // the textual name of the server64 43 corbatext_t host; 65 // ??? 66 long long response; 44 long response; 67 45 }; 68 46 69 47 struct corbaColInfoResponse 70 48 { 71 corbaShortColInfo shoftInfo; 72 // the collection is public 73 boolean isPublic; 74 // the collection is reliable 75 boolean isBeta; 76 // the timestamp of the collection building 77 unsigned long long buildDate; 78 // ??? 79 corbatext_tarray ccsCols; // Added 05/04/2000 80 // ??? 81 corbatext_tarray languages; 82 // the number of documents in the collection 83 unsigned long long numDocs; 84 // the number of words in the collection 85 unsigned long long numWords; 86 // the number of bytes in the collection 87 unsigned long long numBytes; 88 // the collection level metadata 49 corbaShortColInfo shoftInfo; 50 boolean isPublic; 51 boolean isBeta; 52 unsigned long buildDate; 53 corbatext_tarray ccsCols; // Added 05/04/2000 54 corbatext_tarray languages; 55 unsigned long numDocs; 56 unsigned long numWords; 57 unsigned long numBytes; 89 58 corbatext_tmap collectionMeta; 90 // ???91 59 corbatext_tmap format; 92 // ???93 60 corbatext_tmap building; 94 // the domain for http request for associated files and images95 61 corbatext_t httpdomain ; // Added 27/07/2000 96 // the domain for prefix request for associated files and images97 62 corbatext_t httpprefix; // Added 27/07/2000 98 // the textual name of the receptionist99 63 corbatext_t receptionist; 100 64 }; … … 106 70 struct corbaDocRequest 107 71 { 108 // the document ID109 72 corbatext_t OID; 110 // the mine type the Doc should be in, or "" for any111 73 corbatext_t docType; 112 // ??113 74 corbatext_t docFormat; 114 75 }; … … 120 81 struct corbaDocResponse 121 82 { 122 // the actual document123 83 corbatext_t doc; 124 84 }; … … 173 133 corbaOptionValue_array filterOptions; 174 134 corbatext_tarray docSet; 175 long longfilterResultOptions;135 long filterResultOptions; 176 136 corbatext_t requestParams; 177 137 corbatext_t refParams; … … 183 143 { 184 144 corbatext_t term; 185 long longfrequency;145 long frequency; 186 146 corbatext_tarray matchTerms; 187 147 }; … … 194 154 boolean isRef; 195 155 corbatext_tarray values; 196 long longid;197 long longparentid; // dodge for avoiding pointers for the moment156 long id; 157 long parentid; // dodge for avoiding pointers for the moment 198 158 }; 199 159 … … 206 166 }; 207 167 208 typedef sequence<long long> corbaDocFreq_array;168 typedef sequence<long> corbaDocFreq_array; 209 169 210 170 struct corbaResultDocInfo 211 171 { 212 172 corbatext_t OID; 213 long longresultNum;214 long longranking;215 long longtermsMatched;216 long longphraseMatched;173 long resultNum; 174 long ranking; 175 long termsMatched; 176 long phraseMatched; 217 177 corbaDocFreq_array docFreq; 218 178 corbaMetadataInfo_map metadata; 219 179 corbatext_t classifierMetadataType; // Added 05/04/2000 220 long longclassifierMetadataOffset; // Added 05/04/2000180 long classifierMetadataOffset; // Added 05/04/2000 221 181 corbaMetadataInfo_array metaparents; 222 182 }; … … 233 193 struct corbaFilterResponse 234 194 { 235 long longnumDocs;195 long numDocs; 236 196 corbaIsApprox isApprox; 237 197 corbaTermInfo_array termInfo;
Note:
See TracChangeset
for help on using the changeset viewer.