ClienteTFG
Public Member Functions | List of all members
conexion_ssl Class Reference
Inheritance diagram for conexion_ssl:
conexion

Public Member Functions

 conexion_ssl (config_reader &conf)
 conexion_ssl Create a secure conexion More...
 
ssize_t read_string (std::string &input, int size)
 read_string Read a string in the SSL socket More...
 
ssize_t write_string (std::string output)
 write_string Write a sitring in the secure socket More...
 
- Public Member Functions inherited from conexion
 conexion (config_reader &conf)
 conexion Create a conexion More...
 

Additional Inherited Members

- Protected Attributes inherited from conexion
config_readerconfig
 
int fd
 

Constructor & Destructor Documentation

◆ conexion_ssl()

conexion_ssl::conexion_ssl ( config_reader conf)

conexion_ssl Create a secure conexion

Parameters
confConfig file to give the parameters of conexion

Member Function Documentation

◆ read_string()

ssize_t conexion_ssl::read_string ( std::string &  input,
int  size 
)
virtual

read_string Read a string in the SSL socket

Parameters
inputString readed
sizeLength to read
Returns
Size of bytes readed

Reimplemented from conexion.

◆ write_string()

ssize_t conexion_ssl::write_string ( std::string  output)
virtual

write_string Write a sitring in the secure socket

Parameters
outputString to send
Returns
bytes sended

Reimplemented from conexion.


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