GSsl::ProtocolImp Class Reference

A private pimple class used by GSsl::Protocol. More...

List of all members.

Public Types

typedef Protocol::Result Result
typedef Protocol::LogFn LogFn
typedef Protocol::size_type size_type
typedef Protocol::ssize_type ssize_type

Public Member Functions

 ProtocolImp (const Context &c)
 ProtocolImp (const Context &c, LogFn log, bool hexdump)
 ~ProtocolImp ()
Result connect (int)
Result accept (int)
Result stop ()
Result read (char *buffer, size_type buffer_size, ssize_type &read_size)
Result write (const char *buffer, size_type size_in, ssize_type &size_out)


Detailed Description

A private pimple class used by GSsl::Protocol.

Definition at line 97 of file gssl_openssl.cpp.


Member Typedef Documentation

Definition at line 100 of file gssl_openssl.cpp.

Definition at line 101 of file gssl_openssl.cpp.

Definition at line 102 of file gssl_openssl.cpp.

Definition at line 103 of file gssl_openssl.cpp.


Constructor & Destructor Documentation

GSsl::ProtocolImp::ProtocolImp ( const Context c  ) 

Definition at line 352 of file gssl_openssl.cpp.

References GSsl::Context::p().

GSsl::ProtocolImp::ProtocolImp ( const Context c,
LogFn  log,
bool  hexdump 
)

Definition at line 362 of file gssl_openssl.cpp.

References GSsl::Context::p().

GSsl::ProtocolImp::~ProtocolImp (  ) 

Definition at line 378 of file gssl_openssl.cpp.


Member Function Documentation

GSsl::Protocol::Result GSsl::ProtocolImp::connect ( int  fd  ) 

Definition at line 470 of file gssl_openssl.cpp.

References connect().

Referenced by connect(), and GSsl::Protocol::connect().

GSsl::Protocol::Result GSsl::ProtocolImp::accept ( int  fd  ) 

Definition at line 476 of file gssl_openssl.cpp.

References accept().

Referenced by accept(), and GSsl::Protocol::accept().

GSsl::Protocol::Result GSsl::ProtocolImp::stop (  ) 

Definition at line 529 of file gssl_openssl.cpp.

References GSsl::Protocol::Result_error, and GSsl::Protocol::Result_ok.

Referenced by GSsl::Protocol::stop().

GSsl::Protocol::Result GSsl::ProtocolImp::read ( char *  buffer,
size_type  buffer_size,
ssize_type read_size 
)

Definition at line 535 of file gssl_openssl.cpp.

References GSsl::Protocol::Result_ok.

Referenced by GSsl::Protocol::read().

GSsl::Protocol::Result GSsl::ProtocolImp::write ( const char *  buffer,
size_type  size_in,
ssize_type size_out 
)

Definition at line 556 of file gssl_openssl.cpp.

References GSsl::Protocol::Result_ok.

Referenced by GSsl::Protocol::write().


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

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