GNet::SocketProtocolImp Class Reference

A private implementation class used by GNet::SocketProtocol. More...

List of all members.

Public Member Functions

 SocketProtocolImp (EventHandler &, SocketProtocol::Sink &, StreamSocket &, const Socket::Credentials &)
 ~SocketProtocolImp ()
void readEvent ()
bool writeEvent ()
bool send (const std::string &data, std::string::size_type offset)
void sslConnect ()
void sslAccept ()
bool sslEnabled () const


Detailed Description

A private implementation class used by GNet::SocketProtocol.

Definition at line 38 of file gsocketprotocol.cpp.


Constructor & Destructor Documentation

GNet::SocketProtocolImp::SocketProtocolImp ( EventHandler handler,
SocketProtocol::Sink sink,
StreamSocket socket,
const Socket::Credentials credentials 
)

Definition at line 84 of file gsocketprotocol.cpp.

GNet::SocketProtocolImp::~SocketProtocolImp (  ) 

Definition at line 97 of file gsocketprotocol.cpp.


Member Function Documentation

void GNet::SocketProtocolImp::readEvent (  ) 

Definition at line 107 of file gsocketprotocol.cpp.

References G_DEBUG.

Referenced by GNet::SocketProtocol::readEvent().

bool GNet::SocketProtocolImp::writeEvent (  ) 

Definition at line 122 of file gsocketprotocol.cpp.

References G_DEBUG.

Referenced by GNet::SocketProtocol::writeEvent().

bool GNet::SocketProtocolImp::send ( const std::string &  data,
std::string::size_type  offset 
)

Definition at line 137 of file gsocketprotocol.cpp.

Referenced by GNet::SocketProtocol::send().

void GNet::SocketProtocolImp::sslConnect (  ) 

Definition at line 188 of file gsocketprotocol.cpp.

References G_ASSERT, and G_DEBUG.

Referenced by GNet::SocketProtocol::sslConnect().

void GNet::SocketProtocolImp::sslAccept (  ) 

Definition at line 228 of file gsocketprotocol.cpp.

References G_ASSERT, and G_DEBUG.

Referenced by GNet::SocketProtocol::sslAccept().

bool GNet::SocketProtocolImp::sslEnabled (  )  const

Definition at line 267 of file gsocketprotocol.cpp.

Referenced by GNet::SocketProtocol::sslEnabled().


The documentation for this class was generated from the following file:

Generated on Fri Apr 18 15:56:13 2008 for E-MailRelay by  doxygen 1.5.5