-
Notifications
You must be signed in to change notification settings - Fork 6
Architecture
Arthur Poulet edited this page Aug 8, 2016
·
3 revisions
# Files and directories
- bot extension specifics to the client. It is an easier interface to create IRC bots.
- client is the representation of an active and controllable client (bot, user, ...). It can send a message, receive and trigger hooks on them.
- has_socket
- irc_sender
- server
includes the bindings and the connection protocols.
API to create IRC messages.
- The commands must represent the RFC.
- Each command must be represented by only one function. There must not be any overload of those (for example, join takes a
Array(Chan)as parameter, notArray(String)norStringnorChan.) Those high level api should be added in an other abstraction layer. - They must be wrapped in a module, by type (chan, user, ping, talk).
- They must interact with protocol entities (
Chan,User,Target)
API to represent IRC entities (chans, users, message, ...).
contains server specifics.
contains the hooking system, nick, and generic features.