diff options
| author | Mike Buland <eichlan@xagasoft.com> | 2007-07-03 00:28:59 +0000 |
|---|---|---|
| committer | Mike Buland <eichlan@xagasoft.com> | 2007-07-03 00:28:59 +0000 |
| commit | ac517a2b7625e0aa0862679e961c6349f859ea3b (patch) | |
| tree | e3e27a6b9bd5e2be6150088495c91fc91786ad9d /src/old/tests/teltest/telnetmonitor.h | |
| parent | f8d4301e9fa4f3709258505941e37fab2eadadc6 (diff) | |
| parent | bd865cee5f89116c1f054cd0e5c275e97c2d0a9b (diff) | |
| download | libbu++-ac517a2b7625e0aa0862679e961c6349f859ea3b.tar.gz libbu++-ac517a2b7625e0aa0862679e961c6349f859ea3b.tar.bz2 libbu++-ac517a2b7625e0aa0862679e961c6349f859ea3b.tar.xz libbu++-ac517a2b7625e0aa0862679e961c6349f859ea3b.zip | |
The reorg is being put in trunk, I think it's ready. Now we just get to find
out how many applications won't work anymore :)
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 | ||
