circuits.net.protocols.irc – IRC Protocol

Events

class circuits.net.protocols.irc.RAW(*args, **kwargs)

Bases: circuits.net.protocols.irc.Command

RAW command

Components

class circuits.net.protocols.irc.IRC(*args, **kwargs)

Bases: circuits.core.components.Component

IRC Protocol Component

Creates a new IRC Component instance that implements the IRC Protocol. Incoming messages are handled by the “read” Event Handler, parsed and processed with appropriate Events created and exposed to the rest of te system to listen to and handle.

@note: This Component must be used in conjunction with a Component that
exposes Read Events on a “read” Channel.
line(line)

Line Event Handler

Process a line of text and generate the appropiate event. This must not be overridden by sub-classes, if it is, this must be explitetly called by the sub-class. Other Components may however listen to this event and process custom IRC events.

Functions