summaryrefslogtreecommitdiff
path: root/examples (unfollow)
Commit message (Collapse)AuthorFilesLines
2018-01-18Fix namespaces and improve internal consistencyThéophile Choutri6-15/+15
2017-06-22Example bot fixesRyan Winchester1-1/+2
2016-12-01Close #58 - address linking of client processes in examplesPaul Schoenfelder1-1/+1
2016-03-08A few cleanup tasks, tweaks to the docs/examplesPaul Schoenfelder1-3/+3
2016-02-27Add new example. Closes #38Paul Schoenfelder9-0/+217
2014-11-24create example client application. Close #13.jeffweiss4-0/+130
Prior to this commit, the README illustrated a simplified version of a client; however, this simplified version did not actually join the specified channel because logon takes a non-trivial amount of time and the code, as illustrated in the README, will immediately attempt to join a channel even though we're not fully logged on yet. This has taken several people quite a while to figure out. This commit adds an example application (along with a stripped down version on it in the README) with 3 handlers: Connection, Login, and business logic. The ConnectionHandler is responsible to initiating the connection to the IRC server and then when we've received a message that we've connected, initiating the logon process. The LoginHandler waits until we've received the logged_in message and then attempts to join the channels. Next the bot's OhaiHandler will greet people as they enter the channels that itself had just joined.