64 bool login(
const std::string &nickname);
68 bool sendPrivmsg(
const std::string &recipient,
const std::string &textline);
69 bool join(
const std::string &channel);
70 bool part(
const std::string &channel);
74 bool isReady()
const {
return _logged_in; }
75 bool hasMessage()
const {
return !_incoming_private_messages.empty(); }
81 void pong(
const std::string &recipient);
82 bool parseReceivedLine(std::string irc_line);
84 bool _connected {
false};
85 bool _logged_in {
false};
86 std::string _nickname {
""};
88 std::deque<IRCMessage> _incoming_private_messages;
90 SGPropertyNode *_pReadyFlag {
nullptr};
91 SGPropertyNode *_pMessageCountIn {
nullptr};
92 SGPropertyNode *_pMessageCountOut {
nullptr};
93 SGPropertyNode *_pIRCReturnCode {
nullptr};