Main Page   Namespace List   Class Hierarchy   Compound List   File List   Compound Members   File Members  

browse_server.h

Go to the documentation of this file.
00001 
00002 #ifndef header_browse_server
00003 #define header_browse_server
00004 
00006 
00007 #include <string>
00008 class CL_IPAddress;
00009 
00010 class CL_BrowseServer
00011 //: Browse server to a browse master.
00012 // The browse service is used to register a server on a browse master.
00013 {
00015 public:
00016         CL_BrowseServer(
00017                 const CL_IPAddress &browse_master,
00018                 const std::string &app_id,
00019                 const CL_IPAddress &server_address,
00020                 const std::string &description);
00021         // Connect to browse master and register ourselves with the passed server address
00022         // and description.
00023         
00024         virtual ~CL_BrowseServer();
00025         // Disconnect from browse master.
00026 
00028 public:
00029 
00031 public:
00032         void set_description(const std::string &description);
00033         // Change the server description on the browse master.
00034 
00036 private:
00037         class CL_BrowseServer_Generic *impl;
00038 };
00039 
00040 #endif

Generated at Wed Apr 4 19:53:59 2001 for ClanLib by doxygen1.2.6 written by Dimitri van Heesch, © 1997-2001