From 8898ad9b25fca6afe2374d293a981db02a83d7e9 Mon Sep 17 00:00:00 2001 From: "FWoltermann@gmail.com" Date: Thu, 31 May 2012 14:46:27 +0000 Subject: Committing the documentation to svn to have it accessible online --- Doc/doxygen/html/class_net_client.html | 670 +++++++++++++++++++++++++++++++++ 1 file changed, 670 insertions(+) create mode 100644 Doc/doxygen/html/class_net_client.html (limited to 'Doc/doxygen/html/class_net_client.html') diff --git a/Doc/doxygen/html/class_net_client.html b/Doc/doxygen/html/class_net_client.html new file mode 100644 index 0000000..3a5fbd1 --- /dev/null +++ b/Doc/doxygen/html/class_net_client.html @@ -0,0 +1,670 @@ + + + + + +Starshatter_Open: NetClient Class Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
Starshatter_Open +
+
Open source Starshatter engine
+
+
+ + + + + +
+
+ +
+
+
+ +
+ + + + +
+ +
+ + +
+ +

#include <NetClient.h>

+
+Inheritance diagram for NetClient:
+
+
+ + +HttpClient + +
+ +

List of all members.

+ + + +

+Public Types

enum  ERRS {
+  ERR_INTR = 10004, +ERR_BADF = 10009, +ERR_ACCES = 10013, +ERR_FAULT = 10014, +
+  ERR_INVAL = 10022, +ERR_MFILE = 10024, +ERR_WOULDBLOCK = 10035, +ERR_INPROGRESS = 10036, +
+  ERR_ALREADY = 10037, +ERR_NOTSOCK = 10038, +ERR_DESTADDRREQ = 10039, +ERR_MSGSIZE = 10040, +
+  ERR_PROTOTYPE = 10041, +ERR_NOPROTOOPT = 10042, +ERR_PROTONOSUPPORT = 10043, +ERR_SOCKTNOSUPPORT = 10044, +
+  ERR_OPNOTSUPP = 10045, +ERR_PFNOSUPPORT = 10046, +ERR_AFNOSUPPORT = 10047, +ERR_ADDRINUSE = 10048, +
+  ERR_ADDRNOTAVAIL = 10049, +ERR_NETDOWN = 10050, +ERR_NETUNREACH = 10051, +ERR_NETRESET = 10052, +
+  ERR_CONNABORTED = 10053, +ERR_CONNRESET = 10054, +ERR_NOBUFS = 10055, +ERR_ISCONN = 10056, +
+  ERR_NOTCONN = 10057, +ERR_SHUTDOWN = 10058, +ERR_TOOMANYREFS = 10059, +ERR_TIMEDOUT = 10060, +
+  ERR_CONNREFUSED = 10061, +ERR_LOOP = 10062, +ERR_NAMETOOLONG = 10063, +ERR_HOSTDOWN = 10064, +
+  ERR_HOSTUNREACH = 10065, +ERR_NOTEMPTY = 10066, +ERR_PROCLIM = 10067, +ERR_USERS = 10068, +
+  ERR_DQUOT = 10069, +ERR_STALE = 10070, +ERR_REMOTE = 10071 +
+ }
+ + + + + + + + + + +

+Public Member Functions

 NetClient (const NetAddr &server_addr)
virtual ~NetClient ()
int operator== (const NetClient &c) const
NetAddr GetServerAddr () const
bool Send (Text msg)
Text Recv ()
Text SendRecv (Text msg)
int GetLastError () const
DWORD GetTime () const
+ + +

+Static Public Member Functions

static const char * TYPENAME ()
+ + + + + + +

+Protected Attributes

NetAddr addr
NetSocksock
DWORD delta
DWORD time
int err
+

Detailed Description

+
+

Definition at line 27 of file NetClient.h.

+

Member Enumeration Documentation

+ +
+
+ + + + +
enum NetClient::ERRS
+
+
Enumerator:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
ERR_INTR  +
ERR_BADF  +
ERR_ACCES  +
ERR_FAULT  +
ERR_INVAL  +
ERR_MFILE  +
ERR_WOULDBLOCK  +
ERR_INPROGRESS  +
ERR_ALREADY  +
ERR_NOTSOCK  +
ERR_DESTADDRREQ  +
ERR_MSGSIZE  +
ERR_PROTOTYPE  +
ERR_NOPROTOOPT  +
ERR_PROTONOSUPPORT  +
ERR_SOCKTNOSUPPORT  +
ERR_OPNOTSUPP  +
ERR_PFNOSUPPORT  +
ERR_AFNOSUPPORT  +
ERR_ADDRINUSE  +
ERR_ADDRNOTAVAIL  +
ERR_NETDOWN  +
ERR_NETUNREACH  +
ERR_NETRESET  +
ERR_CONNABORTED  +
ERR_CONNRESET  +
ERR_NOBUFS  +
ERR_ISCONN  +
ERR_NOTCONN  +
ERR_SHUTDOWN  +
ERR_TOOMANYREFS  +
ERR_TIMEDOUT  +
ERR_CONNREFUSED  +
ERR_LOOP  +
ERR_NAMETOOLONG  +
ERR_HOSTDOWN  +
ERR_HOSTUNREACH  +
ERR_NOTEMPTY  +
ERR_PROCLIM  +
ERR_USERS  +
ERR_DQUOT  +
ERR_STALE  +
ERR_REMOTE  +
+
+
+ +

Definition at line 54 of file NetClient.h.

+ +
+
+

Constructor & Destructor Documentation

+ +
+
+ + + + + + + + +
NetClient::NetClient (const NetAddrserver_addr)
+
+ +

Definition at line 24 of file NetClient.cpp.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + +
NetClient::~NetClient ()
+
+virtual
+
+ +

Definition at line 29 of file NetClient.cpp.

+ +
+
+

Member Function Documentation

+ +
+
+ + + + + +
+ + + + + + + +
int NetClient::GetLastError () const
+
+inline
+
+ +

Definition at line 43 of file NetClient.h.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + +
NetAddr NetClient::GetServerAddr () const
+
+inline
+
+ +

Definition at line 37 of file NetClient.h.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + +
DWORD NetClient::GetTime () const
+
+inline
+
+ +

Definition at line 44 of file NetClient.h.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + +
int NetClient::operator== (const NetClientc) const
+
+inline
+
+ +

Definition at line 35 of file NetClient.h.

+ +
+
+ +
+
+ + + + + + + +
Text NetClient::Recv ()
+
+ +

Definition at line 76 of file NetClient.cpp.

+ +
+
+ +
+
+ + + + + + + + +
bool NetClient::Send (Text msg)
+
+ +

Definition at line 37 of file NetClient.cpp.

+ +
+
+ +
+
+ + + + + + + + +
Text NetClient::SendRecv (Text msg)
+
+ +

Definition at line 107 of file NetClient.cpp.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + +
static const char* NetClient::TYPENAME ()
+
+inlinestatic
+
+ +

Reimplemented in HttpClient.

+ +

Definition at line 30 of file NetClient.h.

+ +
+
+

Member Data Documentation

+ +
+
+ + + + + +
+ + + + +
NetAddr NetClient::addr
+
+protected
+
+ +

Definition at line 47 of file NetClient.h.

+ +
+
+ +
+
+ + + + + +
+ + + + +
DWORD NetClient::delta
+
+protected
+
+ +

Definition at line 49 of file NetClient.h.

+ +
+
+ +
+
+ + + + + +
+ + + + +
int NetClient::err
+
+protected
+
+ +

Definition at line 51 of file NetClient.h.

+ +
+
+ +
+
+ + + + + +
+ + + + +
NetSock* NetClient::sock
+
+protected
+
+ +

Definition at line 48 of file NetClient.h.

+ +
+
+ +
+
+ + + + + +
+ + + + +
DWORD NetClient::time
+
+protected
+
+ +

Definition at line 50 of file NetClient.h.

+ +
+
+
The documentation for this class was generated from the following files: +
+
+ + + + -- cgit v1.1