|
Chatterino
|
#include <IrcServer.hpp>
Public Member Functions | |
| IrcServer (const IrcServerData &data) | |
| IrcServer (const IrcServerData &data, const std::vector< std::weak_ptr< Channel >> &restoreChannels) | |
| ~IrcServer () override | |
| int | id () |
| const QString & | user () |
| const QString & | nick () |
| const QString & | userFriendlyIdentifier () |
| bool | hasEcho () const |
| void | sendWhisper (const QString &target, const QString &message) |
| sends a whisper to the target user (PRIVMSG where a user is the target) More... | |
Public Member Functions inherited from chatterino::AbstractIrcServer | |
| virtual | ~AbstractIrcServer ()=default |
| void | initializeIrc () |
| void | connect () |
| void | disconnect () |
| void | sendMessage (const QString &channelName, const QString &message) |
| void | sendRawMessage (const QString &rawMessage) |
| ChannelPtr | getOrAddChannel (const QString &dirtyChannelName) |
| ChannelPtr | getChannelOrEmpty (const QString &dirtyChannelName) |
| std::vector< std::weak_ptr< Channel > > | getChannels () |
| void | addFakeMessage (const QString &data) |
| void | addGlobalSystemMessage (const QString &messageText) |
| void | forEachChannel (std::function< void(ChannelPtr)> func) |
Protected Member Functions | |
| void | initializeConnectionSignals (IrcConnection *connection, ConnectionType type) override |
| void | initializeConnection (IrcConnection *connection, ConnectionType type) override |
| std::shared_ptr< Channel > | createChannel (const QString &channelName) override |
| bool | hasSeparateWriteConnection () const override |
| void | onReadConnected (IrcConnection *connection) override |
| void | privateMessageReceived (Communi::IrcPrivateMessage *message) override |
| void | readConnectionMessageReceived (Communi::IrcMessage *message) override |
Protected Member Functions inherited from chatterino::AbstractIrcServer | |
| AbstractIrcServer () | |
| virtual void | writeConnectionMessageReceived (Communi::IrcMessage *message) |
| virtual void | onWriteConnected (IrcConnection *connection) |
| virtual void | onDisconnected () |
| virtual std::shared_ptr< Channel > | getCustomChannel (const QString &channelName) |
| virtual QString | cleanChannelName (const QString &dirtyChannelName) |
| void | open (ConnectionType type) |
Additional Inherited Members | |
Public Types inherited from chatterino::AbstractIrcServer | |
| enum | ConnectionType { Read = 1, Write = 2, Both = 3 } |
Public Attributes inherited from chatterino::AbstractIrcServer | |
| pajlada::Signals::NoArgSignal | connected |
| pajlada::Signals::NoArgSignal | disconnected |
Protected Attributes inherited from chatterino::AbstractIrcServer | |
| QMap< QString, std::weak_ptr< Channel > > | channels |
| std::mutex | channelMutex |
|
explicit |
| chatterino::IrcServer::IrcServer | ( | const IrcServerData & | data, |
| const std::vector< std::weak_ptr< Channel >> & | restoreChannels | ||
| ) |
|
override |
|
overrideprotectedvirtual |
Implements chatterino::AbstractIrcServer.
| bool chatterino::IrcServer::hasEcho | ( | ) | const |
|
overrideprotectedvirtual |
Implements chatterino::AbstractIrcServer.
| int chatterino::IrcServer::id | ( | ) |
|
overrideprotectedvirtual |
|
overrideprotectedvirtual |
| const QString & chatterino::IrcServer::nick | ( | ) |
|
overrideprotectedvirtual |
|
overrideprotectedvirtual |
|
overrideprotectedvirtual |
| void chatterino::IrcServer::sendWhisper | ( | const QString & | target, |
| const QString & | message | ||
| ) |
sends a whisper to the target user (PRIVMSG where a user is the target)
| const QString & chatterino::IrcServer::user | ( | ) |
| const QString & chatterino::IrcServer::userFriendlyIdentifier | ( | ) |
1.8.13