/***************************************************************************
- * Copyright (C) 2005-2013 by the Quassel Project *
+ * Copyright (C) 2005-2016 by the Quassel Project *
* devel@quassel-irc.org *
* *
* This program is free software; you can redistribute it and/or modify *
InternalPeer(QObject *parent = 0);
virtual ~InternalPeer();
+ Protocol::Type protocol() const { return Protocol::InternalProtocol; }
QString description() const;
SignalProxy *signalProxy() const;
void dispatch(const Protocol::InitRequest &msg);
void dispatch(const Protocol::InitData &msg);
+ /* These are not needed for InternalPeer */
+ void dispatch(const Protocol::RegisterClient &) {}
+ void dispatch(const Protocol::ClientDenied &) {}
+ void dispatch(const Protocol::ClientRegistered &) {}
+ void dispatch(const Protocol::SetupData &) {}
+ void dispatch(const Protocol::SetupFailed &) {}
+ void dispatch(const Protocol::SetupDone &) {}
+ void dispatch(const Protocol::Login &) {}
+ void dispatch(const Protocol::LoginFailed &) {}
+ void dispatch(const Protocol::LoginSuccess &) {}
+ void dispatch(const Protocol::SessionState &) {}
+
public slots:
void close(const QString &reason = QString());