summaryrefslogtreecommitdiff
path: root/apps/JAWS/clients/Caching/Locator_Request_Reply.h
diff options
context:
space:
mode:
authorschmidt <douglascraigschmidt@users.noreply.github.com>1997-08-27 03:37:04 +0000
committerschmidt <douglascraigschmidt@users.noreply.github.com>1997-08-27 03:37:04 +0000
commit57445a91ddd4186e2b43892e88ced05abf21c15b (patch)
treead2f213796e1bc368ce1ad7b3ec3428a3f5c7ca5 /apps/JAWS/clients/Caching/Locator_Request_Reply.h
parent31cd8808cb8e200c0efb9bde1bb04649e7f07d55 (diff)
downloadATCD-57445a91ddd4186e2b43892e88ced05abf21c15b.tar.gz
*** empty log message ***
Diffstat (limited to 'apps/JAWS/clients/Caching/Locator_Request_Reply.h')
-rw-r--r--apps/JAWS/clients/Caching/Locator_Request_Reply.h28
1 files changed, 25 insertions, 3 deletions
diff --git a/apps/JAWS/clients/Caching/Locator_Request_Reply.h b/apps/JAWS/clients/Caching/Locator_Request_Reply.h
index a6036fc7586..cc53f593b9d 100644
--- a/apps/JAWS/clients/Caching/Locator_Request_Reply.h
+++ b/apps/JAWS/clients/Caching/Locator_Request_Reply.h
@@ -21,6 +21,7 @@
#include "URL_Properties.h"
class ACE_Export ACE_URL_Locator_Request
+// Nanbor, please make sure you explain what this class is *used* for!
// = TITLE
// A URL request message formater/wrapper.
//
@@ -74,6 +75,24 @@ public:
const ACE_URL_Property_Seq &modify = 0);
// Modify a previously registered offer.
+<<<<<<< Locator_Request_Reply.h
+ int encode (void);
+ // Encode request for network communication.
+
+ int decode (void);
+ // Restore from network data.
+
+ // = A bunch of methods to access internal data.
+ int how (void);
+ int how_many (void);
+ ACE_URL_Property_Seq &seq (void);
+ ACE_URL_Property_Seq &del (void);
+ ACE_URL_Property_Seq &modify (void);
+ ACE_WString &id (void);
+ ACE_WString &url (void);
+ void *buffer (void);
+
+=======
size_t encode (void);
// Encode request for network communication. If succeed,
// returns the size of the buffer, otherwise, return 0.
@@ -95,14 +114,17 @@ public:
void dump (void);
// Print out this object.
+
protected:
+ u_int code_;
+ // Request type code.
+
+ // Nanbor, please make sure that you comment all of these data
+ // members.
size_t bsize (void) const;
// Return the size of buffer required to encode
// this request.
- unsigned int code_;
- // Request type code.
-
int how_;
int how_many_;
ACE_URL_Property_Seq *seq1_;