diff options
author | Mike Buland <eichlan@xagasoft.com> | 2006-05-03 08:42:32 +0000 |
---|---|---|
committer | Mike Buland <eichlan@xagasoft.com> | 2006-05-03 08:42:32 +0000 |
commit | 68db829db66dbf8faad5bd8df35760b5af3a1491 (patch) | |
tree | d1b79a641a14966dbd1bb2bea6625454db7f64a4 /src/test/teltest | |
parent | 96b00553a0ffe6bb34af6ad15e1cfc2bed67bd75 (diff) | |
download | libbu++-68db829db66dbf8faad5bd8df35760b5af3a1491.tar.gz libbu++-68db829db66dbf8faad5bd8df35760b5af3a1491.tar.bz2 libbu++-68db829db66dbf8faad5bd8df35760b5af3a1491.tar.xz libbu++-68db829db66dbf8faad5bd8df35760b5af3a1491.zip |
Sweet, all changes from the (once again 1 rev) branch have been merged back in.
Now to finalize the changes in my other programs.
Diffstat (limited to 'src/test/teltest')
-rw-r--r-- | src/test/teltest/main.cpp | 2 | ||||
-rw-r--r-- | src/test/teltest/telnetmonitor.cpp | 2 | ||||
-rw-r--r-- | src/test/teltest/telnetmonitor.h | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/test/teltest/main.cpp b/src/test/teltest/main.cpp index ce968c4..5d3ec26 100644 --- a/src/test/teltest/main.cpp +++ b/src/test/teltest/main.cpp | |||
@@ -10,7 +10,7 @@ int main() | |||
10 | 10 | ||
11 | srv.setConnectionMonitor( &telnet ); | 11 | srv.setConnectionMonitor( &telnet ); |
12 | 12 | ||
13 | srv.startServer( 4001, 40 ); | 13 | srv.startServer( 4001 ); |
14 | 14 | ||
15 | for(;;) | 15 | for(;;) |
16 | { | 16 | { |
diff --git a/src/test/teltest/telnetmonitor.cpp b/src/test/teltest/telnetmonitor.cpp index 001932f..32c2924 100644 --- a/src/test/teltest/telnetmonitor.cpp +++ b/src/test/teltest/telnetmonitor.cpp | |||
@@ -36,7 +36,7 @@ LinkMessage* TelnetMonitor::processIRM( LinkMessage *pMsg ) | |||
36 | { | 36 | { |
37 | } | 37 | } |
38 | 38 | ||
39 | bool TelnetMonitor::onNewConnection( Connection *pCon ) | 39 | bool TelnetMonitor::onNewConnection( Connection *pCon, int nPort ) |
40 | { | 40 | { |
41 | ProtocolTelnet *pt = new ProtocolTelnet(); | 41 | ProtocolTelnet *pt = new ProtocolTelnet(); |
42 | pCon->setProtocol( pt ); | 42 | pCon->setProtocol( pt ); |
diff --git a/src/test/teltest/telnetmonitor.h b/src/test/teltest/telnetmonitor.h index 95c8493..ba5761e 100644 --- a/src/test/teltest/telnetmonitor.h +++ b/src/test/teltest/telnetmonitor.h | |||
@@ -16,7 +16,7 @@ public: | |||
16 | bool timeSlice(); | 16 | bool timeSlice(); |
17 | LinkMessage* processIRM( LinkMessage *pMsgIn ); | 17 | LinkMessage* processIRM( LinkMessage *pMsgIn ); |
18 | 18 | ||
19 | bool onNewConnection( Connection *pCon ); | 19 | bool onNewConnection( Connection *pCon, int nPort ); |
20 | bool onClosedConnection( Connection *pCon ); | 20 | bool onClosedConnection( Connection *pCon ); |
21 | 21 | ||
22 | private: | 22 | private: |