Quassel IRC  Pre-Release
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros
PeerFactory Class Reference

#include </tmp/quassel/src/common/peerfactory.h>

Public Types

typedef QPair< Protocol::Type,
quint16 > 
ProtoDescriptor
typedef QVector< ProtoDescriptorProtoList

Static Public Member Functions

static ProtoList supportedProtocols ()
static RemotePeercreatePeer (const ProtoDescriptor &protocol, AuthHandler *authHandler, QTcpSocket *socket, Compressor::CompressionLevel level, QObject *parent=0)
static RemotePeercreatePeer (const ProtoList &protocols, AuthHandler *authHandler, QTcpSocket *socket, Compressor::CompressionLevel level, QObject *parent=0)

Detailed Description

Definition at line 35 of file peerfactory.h.

Member Typedef Documentation

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.

Member Function Documentation

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 
)
static

The documentation for this class was generated from the following files: