#include <sue_tcps.hpp>
Inheritance diagram for SUETcpServerSession:
Public Methods | |
virtual void | HandleNewInput ()=0 |
Hook for handling new input. | |
virtual void | TcpServerSessionShutdownHook () |
Protected Methods | |
SUETcpServerSession (int a_fd, int a_timeout, SUEEventSelector *a_selector, SUETcpServer *a_server, const char *a_greeting=0) | |
Constructor. | |
virtual | ~SUETcpServerSession () |
Destructor. | |
Friends | |
class | SUETcpServer |
A child class of SUETcpServerSession is the right place to implement your protocol. Create YOUR child class overriding the HandleNewInput and HandleSessionTerminatingEvent methods.
|
Constructor.
|
|
Destructor.
|
|
Hook for handling new input. This function is called whenever new data is read from the session channel (that is, select(2) told us there is possibility to read, and read(2) got more than zero chars from the session's file descriptor). All the chars are appended to the inputbuffer before this function is called. Implements SUEGenericDuplexSession.
|
|
|
|
|