VideoTools
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
GNet::SocketProtocolImp Class Reference

A pimple-pattern implementation class used by GNet::SocketProtocol. More...

Classes

struct  Position
 A pointer into the scatter/gather payload of GNet::SocketProtocolImp::send(). More...
 

Public Types

typedef std::pair< const char
*, size_t > 
Segment
 
typedef std::vector< Segment > Segments
 

Public Member Functions

 SocketProtocolImp (EventHandler &, SocketProtocol::Sink &, StreamSocket &, unsigned int secure_connection_timeout)
 
void readEvent ()
 
bool writeEvent ()
 
bool send (const std::string &data, size_t offset)
 
bool send (const Segments &)
 
void sslConnect ()
 
void sslAccept ()
 
bool sslEnabled () const
 
std::string peerCertificate () const
 

Detailed Description

A pimple-pattern implementation class used by GNet::SocketProtocol.

Definition at line 46 of file gsocketprotocol.cpp.


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