aboutsummaryrefslogtreecommitdiff
path: root/src/protocol.cpp
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2006-11-02 11:29:19 +0000
committerMike Buland <eichlan@xagasoft.com>2006-11-02 11:29:19 +0000
commit80153a5bb5d3b41101e6bd6755b61fd0e57fadbc (patch)
tree6a2989723396348d509b63466bf53023f4f82739 /src/protocol.cpp
parent54ef2750aef0c64df56daff50af7719f85017c33 (diff)
downloadlibbu++-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 'src/protocol.cpp')
-rw-r--r--src/protocol.cpp2
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()
12void Protocol::setConnection( Connection *pNewConnection ) 12void Protocol::setConnection( Connection *pNewConnection )
13{ 13{
14 pConnection = pNewConnection; 14 pConnection = pNewConnection;
15
16 onNewConnection();
17} 15}
18 16
19Connection *Protocol::getConnection() 17Connection *Protocol::getConnection()