From: Manuel Nickschas Date: Thu, 23 Jan 2014 00:47:50 +0000 (+0100) Subject: Add PeerFactory X-Git-Tag: 0.10-beta1~39 X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=commitdiff_plain;h=9c6f27c7bf7cb9dee234383ed9347c077aa2bce9;hp=9c6f27c7bf7cb9dee234383ed9347c077aa2bce9;ds=sidebyside Add PeerFactory This factory creates an instance of a RemotePeer subclass based on the given protocol type and peer-specific features. If given a list, it will select the preferred one (generally the first one that matches an available peer which accepts the given peer-specific features). For now, we just have the LegacyPeer (which does not have specific features, so that value is ignored). ---