SQLSocket Class Reference

This class will handle incomming requests as SQL queries. More...

#include <SQLSocket.h>

List of all members.

Public Member Functions

 SQLSocket (ISocketHandler &h)
 Construct a new SQLSocket with the specified handler.
 ~SQLSocket (void)
 Destructor, a noop.
void OnAccept ()
 Accept a new connection.
void OnLine (const std::string &line)
 Accept the next line of input.
void Send (const std::string &msg)
 Send text back to the user.


Detailed Description

This class will handle incomming requests as SQL queries.

Currently no form of restriction is applied. Any query goes, as such it is advised not to run a SQLSocket on a public port.

Definition at line 38 of file SQLSocket.h.


Constructor & Destructor Documentation

SQLSocket::SQLSocket ( ISocketHandler &  h  ) 

Construct a new SQLSocket with the specified handler.

SQLSocket::~SQLSocket ( void   ) 

Destructor, a noop.


Member Function Documentation

void SQLSocket::OnAccept (  ) 

Accept a new connection.

void SQLSocket::OnLine ( const std::string &  line  ) 

Accept the next line of input.

void SQLSocket::Send ( const std::string &  msg  ) 

Send text back to the user.


Generated for UnsignedByte by  doxygen 1.5.3
SourceForge.net Logo