DomainPlug-insDocumentation
/home/pkhodos/work/trunk/ToolLibs/WhoisLib/whois.h
Go to the documentation of this file.
00001 #if !defined _WHOIS_H
00002 #define _WHOIS_H
00003 
00004 #include <stlrt/atypes.h>
00005 
00006 #include "whoisclientconfig.h"
00007 
00008 
00013 class ATransport;
00014 
00019 class WHOISCLIENT_DECL WhoisClient {
00020 public:
00027   WhoisClient(Str server, int port = 43) : _server(server), _port(port) {};
00028 
00029   WhoisClient&  operator=(const WhoisClient&) { return *this; }
00030 
00032 
00038   Str sendRequest(Str request);
00039 private:
00040   const Str _server;
00041   const int _port;
00042 };
00043 
00044 #endif
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines