diff options
Diffstat (limited to 'src/old/tests/teltest/telnetmonitor.h')
| -rw-r--r-- | src/old/tests/teltest/telnetmonitor.h | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/src/old/tests/teltest/telnetmonitor.h b/src/old/tests/teltest/telnetmonitor.h new file mode 100644 index 0000000..ba5761e --- /dev/null +++ b/src/old/tests/teltest/telnetmonitor.h | |||
| @@ -0,0 +1,26 @@ | |||
| 1 | #ifndef HTTPCONNECTIONMONITOR_H | ||
| 2 | #define HTTPCONNECTIONMONITOR_H | ||
| 3 | |||
| 4 | #include "connectionmonitor.h" | ||
| 5 | #include "programlink.h" | ||
| 6 | #include "linkedlist.h" | ||
| 7 | |||
| 8 | class TelnetMonitor : public ConnectionMonitor, public ProgramLink | ||
| 9 | { | ||
| 10 | public: | ||
| 11 | TelnetMonitor(); | ||
| 12 | ~TelnetMonitor(); | ||
| 13 | |||
| 14 | bool init(); | ||
| 15 | bool deInit(); | ||
| 16 | bool timeSlice(); | ||
| 17 | LinkMessage* processIRM( LinkMessage *pMsgIn ); | ||
| 18 | |||
| 19 | bool onNewConnection( Connection *pCon, int nPort ); | ||
| 20 | bool onClosedConnection( Connection *pCon ); | ||
| 21 | |||
| 22 | private: | ||
| 23 | LinkedList lCon; | ||
| 24 | }; | ||
| 25 | |||
| 26 | #endif | ||
