diff options
author | Mike Buland <eichlan@xagasoft.com> | 2006-11-02 11:29:19 +0000 |
---|---|---|
committer | Mike Buland <eichlan@xagasoft.com> | 2006-11-02 11:29:19 +0000 |
commit | 80153a5bb5d3b41101e6bd6755b61fd0e57fadbc (patch) | |
tree | 6a2989723396348d509b63466bf53023f4f82739 /src/protocol.cpp | |
parent | 54ef2750aef0c64df56daff50af7719f85017c33 (diff) | |
download | libbu++-80153a5bb5d3b41101e6bd6755b61fd0e57fadbc.tar.gz libbu++-80153a5bb5d3b41101e6bd6755b61fd0e57fadbc.tar.bz2 libbu++-80153a5bb5d3b41101e6bd6755b61fd0e57fadbc.tar.xz libbu++-80153a5bb5d3b41101e6bd6755b61fd0e57fadbc.zip |
Added the new features that you need to make the connection manager, protocols,
and the connection monitor work in two-way-mode. Effectively you should be able
to write systems that both serve and initiate connections, and only write one
protocol.
Diffstat (limited to '')
-rw-r--r-- | src/protocol.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/protocol.cpp b/src/protocol.cpp index 70c8a02..78b3ee2 100644 --- a/src/protocol.cpp +++ b/src/protocol.cpp | |||
@@ -12,8 +12,6 @@ Protocol::~Protocol() | |||
12 | void Protocol::setConnection( Connection *pNewConnection ) | 12 | void Protocol::setConnection( Connection *pNewConnection ) |
13 | { | 13 | { |
14 | pConnection = pNewConnection; | 14 | pConnection = pNewConnection; |
15 | |||
16 | onNewConnection(); | ||
17 | } | 15 | } |
18 | 16 | ||
19 | Connection *Protocol::getConnection() | 17 | Connection *Protocol::getConnection() |