diff options
author | nobody <nobody@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1999-08-30 19:34:27 +0000 |
---|---|---|
committer | nobody <nobody@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1999-08-30 19:34:27 +0000 |
commit | 03154c9a5b9e8628d31bd9032549327d51304645 (patch) | |
tree | f4f85e04edaef6ed998a7953275ad3dcf1911fef /examples/Web_Crawler/HTTP_URL.h | |
parent | 73efbc1d2ad02533d865e1b14008ffc8d8bc82fb (diff) | |
download | ATCD-pre_multiple_profile_server.tar.gz |
This commit was manufactured by cvs2svn to create tagpre_multiple_profile_server
'pre_multiple_profile_server'.
Diffstat (limited to 'examples/Web_Crawler/HTTP_URL.h')
-rw-r--r-- | examples/Web_Crawler/HTTP_URL.h | 64 |
1 files changed, 0 insertions, 64 deletions
diff --git a/examples/Web_Crawler/HTTP_URL.h b/examples/Web_Crawler/HTTP_URL.h deleted file mode 100644 index 0df9aa8707f..00000000000 --- a/examples/Web_Crawler/HTTP_URL.h +++ /dev/null @@ -1,64 +0,0 @@ -/* -*- C++ -*- */ -// $Id$ - -// ============================================================================ -// -// = LIBRARY -// examples/Web_Crawler -// -// = FILENAME -// HTTP_URL.h -// -// = AUTHOR -// Douglas C. Schmidt <schmidt@cs.wustl.edu> -// -// ============================================================================ - -#ifndef _HTTP_URL_H -#define _HTTP_URL_H - -#include "URL_Status.h" -#include "URL.h" -#include "Options.h" - -#if !defined (ACE_LACKS_PRAGMA_ONCE) -#define ACE_LACKS_PRAGMA_ONCE -#endif /* ACE_LACKS_PRAGMA_ONCE */ - -class HTTP_URL : public URL -{ - // = TITLE - // An ADT for an HTTP URL. - // - // = DESCRIPTION - // This class plays the "element" role in the Visitor pattern. -public: - HTTP_URL (const ACE_URL_Addr &url_addr, - HTTP_URL *containing_page = 0); - // The <url_addr> is the URL that we're going to be visiting. We - // also keep track of the containing page, if any, which is used to - // print out more meaningful messages. - - virtual int accept (URL_Visitor *visitor); - // Accept the visitor, which will then perform a particular - // visitation strategy on the URL. This method is part of the - // Visitor pattern. - - virtual int send_request (void); - // Send a <GET> command to fetch the contents in the URI from the - // server. - - virtual const ACE_URL_Addr &url_addr (void) const; - // Returns the URL that we represent. - - int destroy (void); - // Commit suicide -private: - ACE_URL_Addr url_addr_; - // Address of the URL we're connected to. - - HTTP_URL *containing_page_; - // Page that contained us. -}; - -#endif /* _HTTP_URL_H */ |