Introduce the DataStreamProtocol
authorManuel Nickschas <sputnick@quassel-irc.org>
Fri, 24 Jan 2014 22:15:02 +0000 (23:15 +0100)
committerManuel Nickschas <sputnick@quassel-irc.org>
Sat, 15 Feb 2014 21:01:01 +0000 (22:01 +0100)
commitdb9bba48e1674f169d1ed3cf184e5fa56dbe3a80
tree50f6ac5728ac217f9299884c271f5ed3f686d556
parent6f82edb27a2ed2c77b36591e492d8aa2671344ef
Introduce the DataStreamProtocol

This is going to be a streamlined version of the LegacyProtocol, still
using QDataStream serialization, but with some of the overhead removed
from the message formats and not supporting stuff that's deprecated.
The DataStreamProtocol will be automatically selected if both client
and core support it.

This commit simply adds a copy of the LegacyProtocol with the necessary
changes to make it compile. The optimizations are going to be in separate
commits so that the changes can be easier tracked by others implementing
it.
src/common/CMakeLists.txt
src/common/peerfactory.cpp
src/common/protocol.h
src/common/protocols/datastream/datastreampeer.cpp [new file with mode: 0644]
src/common/protocols/datastream/datastreampeer.h [new file with mode: 0644]