#include <SQLSocket.h>
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. | |
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.
| SQLSocket::SQLSocket | ( | ISocketHandler & | h | ) |
Construct a new SQLSocket with the specified handler.
| SQLSocket::~SQLSocket | ( | void | ) |
Destructor, a noop.
| 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.
1.5.3