Quassel IRC
Pre-Release
|
#include </tmp/quassel/src/common/peerfactory.h>
Public Types | |
typedef QPair< Protocol::Type, quint16 > | ProtoDescriptor |
typedef QVector< ProtoDescriptor > | ProtoList |
Static Public Member Functions | |
static ProtoList | supportedProtocols () |
static RemotePeer * | createPeer (const ProtoDescriptor &protocol, AuthHandler *authHandler, QTcpSocket *socket, Compressor::CompressionLevel level, QObject *parent=0) |
static RemotePeer * | createPeer (const ProtoList &protocols, AuthHandler *authHandler, QTcpSocket *socket, Compressor::CompressionLevel level, QObject *parent=0) |
Definition at line 35 of file peerfactory.h.
typedef QPair<Protocol::Type, quint16> ProtoDescriptor |
Definition at line 40 of file peerfactory.h.
typedef QVector<ProtoDescriptor> ProtoList |
Definition at line 41 of file peerfactory.h.
|
static |
Definition at line 27 of file peerfactory.cpp.
References Protocol::DataStreamProtocol, Protocol::LegacyProtocol, and DataStreamPeer::supportedFeatures().
Referenced by ClientAuthHandler::onSocketConnected().
|
static |
Definition at line 36 of file peerfactory.cpp.
Referenced by CoreAuthHandler::onReadyRead(), ClientAuthHandler::onReadyRead(), and ClientAuthHandler::onSocketConnected().
|
static |
Definition at line 42 of file peerfactory.cpp.
References DataStreamPeer::acceptsFeatures(), Protocol::DataStreamProtocol, and Protocol::LegacyProtocol.