gTcpConnect Class Reference

#include <gnet.h>

Inheritance diagram for gTcpConnect:

gNetConnect gControl gStorage gTop List of all members.

Public Member Functions

 gTcpConnect (char *destHostname, t_gPort cPort, bool doConnect=true)
 gTcpConnect (t_uint8 c1, t_uint8 c2, t_uint8 c3, t_uint8 c4, t_gPort cPort, bool doConnect=true)
virtual ~gTcpConnect ()
virtual bool IsOk ()
virtual int Handle ()
virtual t_ucharString ()
virtual t_ucharToString (t_uchar *uBuf)
bool Connect ()
virtual bool Close ()
virtual void Show (bool doShowAll=true)

Public Attributes

gHostAddr destAddr
t_gPort destPort
gSocket socket

Protected Member Functions

int thisConnect (gSocket &aSocket)

Constructor & Destructor Documentation

gTcpConnect::gTcpConnect char *  destHostname,
t_gPort  cPort,
bool  doConnect = true
 

Definition at line 559 of file gnet.cpp.

gTcpConnect::gTcpConnect t_uint8  c1,
t_uint8  c2,
t_uint8  c3,
t_uint8  c4,
t_gPort  cPort,
bool  doConnect = true
 

Definition at line 568 of file gnet.cpp.

gTcpConnect::~gTcpConnect  )  [virtual]
 

Definition at line 577 of file gnet.cpp.


Member Function Documentation

bool gTcpConnect::Close  )  [virtual]
 

Definition at line 626 of file gnet.cpp.

bool gTcpConnect::Connect  ) 
 

Definition at line 610 of file gnet.cpp.

Referenced by gTcpConnect().

int gTcpConnect::Handle  )  [virtual]
 

Implements gNetConnect.

Definition at line 587 of file gnet.cpp.

bool gTcpConnect::IsOk  )  [virtual]
 

Reimplemented from gControl.

Definition at line 582 of file gnet.cpp.

Referenced by Handle(), and gXHttpCont::ReadReplyText().

void gTcpConnect::Show bool  doShowAll = true  )  [virtual]
 

Reimplemented from gStorage.

Definition at line 631 of file gnet.cpp.

t_uchar * gTcpConnect::String  )  [virtual]
 

Definition at line 597 of file gnet.cpp.

Referenced by Connect(), Show(), and ToString().

int gTcpConnect::thisConnect gSocket aSocket  )  [protected]
 

Definition at line 641 of file gnet.cpp.

Referenced by Connect().

t_uchar * gTcpConnect::ToString t_uchar uBuf  )  [virtual]
 

Reimplemented from gControl.

Definition at line 602 of file gnet.cpp.


Member Data Documentation

gHostAddr gTcpConnect::destAddr
 

Definition at line 230 of file gnet.h.

Referenced by gTcpConnect(), String(), and thisConnect().

t_gPort gTcpConnect::destPort
 

Definition at line 231 of file gnet.h.

Referenced by thisConnect().

gSocket gTcpConnect::socket
 

Definition at line 232 of file gnet.h.

Referenced by Close(), Connect(), Handle(), IsOk(), Show(), and ~gTcpConnect().


The documentation for this class was generated from the following files:
Generated on Sat Aug 18 02:41:21 2007 for xpfweb_v2x lib by  doxygen 1.4.2