Changeset 2186 for trunk/java-client
- Timestamp:
- 2001-03-16T09:04:52+13:00 (23 years ago)
- Location:
- trunk/java-client
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/java-client/corbaiface.idl
r2172 r2186 6 6 7 7 typedef sequence<string> stringSeq; 8 9 // 10 // Used to textual arguments backwards and forwards across 11 // the interface. The encoding is 0 for full unicode character 12 // data and undefined otherwise. 13 // 8 14 9 15 struct corbatext_t … … 18 24 typedef corbatext_tarray corbatext_tset; 19 25 26 // 27 // A map of names to values. Names may occur twice. Used largely 28 // for passing metadata around 29 // 30 20 31 struct corbatext_tmap 21 32 { … … 27 38 28 39 enum corbaComError 29 { corbaNoError, 40 { 41 // There were no errors 42 corbaNoError, 43 // The server could not authenticate the client or the 44 // authentication indicated insufficient priviledges 30 45 corbaAuthenticationFailure, 46 // ?? 31 47 corbaProtocolError, 48 // ?? 32 49 corbaConfigurationError, 50 // The server is unable to provide service due to an 51 // unspecified system problem on the server side. 33 52 corbaSystemProblem 34 53 }; … … 40 59 struct corbaShortColInfo 41 60 { 61 // the textual name of the collection 42 62 corbatext_t name; 63 // the textual name of the server 43 64 corbatext_t host; 65 // ??? 44 66 long response; 45 67 }; … … 48 70 { 49 71 corbaShortColInfo shoftInfo; 72 // the collection is public 50 73 boolean isPublic; 74 // the collection is reliable 51 75 boolean isBeta; 76 // the timestamp of the collection building 52 77 unsigned long buildDate; 78 // ??? 53 79 corbatext_tarray ccsCols; // Added 05/04/2000 80 // ??? 54 81 corbatext_tarray languages; 82 // the number of documents in the collection 55 83 unsigned long numDocs; 84 // the number of words in the collection 56 85 unsigned long numWords; 86 // the number of bytes in the collection 57 87 unsigned long numBytes; 88 // the collection level metadata 58 89 corbatext_tmap collectionMeta; 90 // ??? 59 91 corbatext_tmap format; 92 // ??? 60 93 corbatext_tmap building; 94 // the domain for http request for associated files and images 61 95 corbatext_t httpdomain ; // Added 27/07/2000 96 // the domain for prefix request for associated files and images 62 97 corbatext_t httpprefix; // Added 27/07/2000 98 // the textual name of the receptionist 63 99 corbatext_t receptionist; 64 100 }; … … 70 106 struct corbaDocRequest 71 107 { 108 // the document ID 72 109 corbatext_t OID; 110 // the mine type the Doc should be in, or "" for any 73 111 corbatext_t docType; 112 // ?? 74 113 corbatext_t docFormat; 75 114 }; … … 81 120 struct corbaDocResponse 82 121 { 122 // the actual document 83 123 corbatext_t doc; 84 124 }; -
trunk/java-client/org/nzdl/gsdl/service/NzdlCollectionInfo.java
r2179 r2186 50 50 if (!getName().equals("")) 51 51 System.out.println("getName working !"); 52 if (!getHostName().equals("")) 53 System.out.println("getHostName working !"); 52 54 } 53 55 … … 68 70 public String getName() { 69 71 return NzdlCorbaFactory.toString( m_Info.shoftInfo.name ) ; 72 } 73 /** 74 * Return the Hostname 75 */ 76 public String getHostName() { 77 return NzdlCorbaFactory.toString( m_Info.shoftInfo.host ) ; 70 78 } 71 79 /**
Note:
See TracChangeset
for help on using the changeset viewer.