summaryrefslogtreecommitdiff
path: root/examples (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Fix namespaces and improve internal consistencyThéophile Choutri2018-01-186-15/+15
|
* Example bot fixesRyan Winchester2017-06-221-1/+2
|
* Close #58 - address linking of client processes in examplesPaul Schoenfelder2016-12-011-1/+1
|
* A few cleanup tasks, tweaks to the docs/examplesPaul Schoenfelder2016-03-081-3/+3
|
* Add new example. Closes #38Paul Schoenfelder2016-02-279-0/+217
|
* create example client application. Close #13.jeffweiss2014-11-244-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.