summaryrefslogtreecommitdiff
path: root/src/protocol.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/protocol.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/protocol.h b/src/protocol.h
index cd18e37..09e1c98 100644
--- a/src/protocol.h
+++ b/src/protocol.h
@@ -36,6 +36,10 @@ public:
36 */ 36 */
37 virtual bool onNewConnection()=0; 37 virtual bool onNewConnection()=0;
38 38
39 virtual void onNewClientConnection(){};
40
41 virtual void poll(){};
42
39 /** 43 /**
40 * Sets the Protocol's Connection object. This is rather important, and 44 * Sets the Protocol's Connection object. This is rather important, and
41 * handled usually by the ConnectionManager. 45 * handled usually by the ConnectionManager.