diff options
| author | Mike Buland <eichlan@xagasoft.com> | 2006-05-01 17:11:04 +0000 |
|---|---|---|
| committer | Mike Buland <eichlan@xagasoft.com> | 2006-05-01 17:11:04 +0000 |
| commit | f7a9549bd6ad83f2e0bceec9cddacfa5e3f84a54 (patch) | |
| tree | 53cec4864776e07950e3c72f2a990a1017d08045 /src/test/teltest/telnetmonitor.h | |
| download | libbu++-f7a9549bd6ad83f2e0bceec9cddacfa5e3f84a54.tar.gz libbu++-f7a9549bd6ad83f2e0bceec9cddacfa5e3f84a54.tar.bz2 libbu++-f7a9549bd6ad83f2e0bceec9cddacfa5e3f84a54.tar.xz libbu++-f7a9549bd6ad83f2e0bceec9cddacfa5e3f84a54.zip | |
libbu++ is finally laid out the way it should be, trunk, branches, and tags.
Diffstat (limited to 'src/test/teltest/telnetmonitor.h')
| -rw-r--r-- | src/test/teltest/telnetmonitor.h | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/src/test/teltest/telnetmonitor.h b/src/test/teltest/telnetmonitor.h new file mode 100644 index 0000000..95c8493 --- /dev/null +++ b/src/test/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 ); | ||
| 20 | bool onClosedConnection( Connection *pCon ); | ||
| 21 | |||
| 22 | private: | ||
| 23 | LinkedList lCon; | ||
| 24 | }; | ||
| 25 | |||
| 26 | #endif | ||
