The IrcBot class can connect to a channel on an IRC network. Users on the same network can send messages to the bot that are parsed by message handlers. The included handlers read digital/analog inputs and write digital outputs or echo messages back to the command sender/channel. Users can write their own message handlers inheriting from the MessageHandler class to perform different actions.

Embed: (wiki syntax)

« Back to documentation index

IrcMessage Class Reference

IrcMessage Class Reference

IrcBot responds to commands on IRC using message users' handlers. More...

#include <IrcBot.h>

Public Member Functions

 IrcMessage ()
 Create empty IrcMessage.
 IrcMessage (char *from, char *to, char *message)
 Create an IrcMessage.

Detailed Description

IrcBot responds to commands on IRC using message users' handlers.

Definition at line 11 of file IrcBot.h.


Constructor & Destructor Documentation

IrcMessage (  )

Create empty IrcMessage.

Definition at line 9 of file IrcBot.cpp.

IrcMessage ( char *  from,
char *  to,
char *  message 
)

Create an IrcMessage.

Parameters:
fromThe user sending the message.
toThe user/channel receiving the message.
messageThe message.

Definition at line 3 of file IrcBot.cpp.