Package buildbot :: Package status :: Module words :: Class IrcStatusBot
[frames] | no frames]

Class IrcStatusBot

source code

twisted.internet.protocol.BaseProtocol --+            
                                         |            
        twisted.internet.protocol.Protocol --+        
                                             |        
   twisted.protocols.basic._PauseableMixin --+        
                                             |        
          twisted.protocols.basic.LineReceiver --+    
                                                 |    
             twisted.words.protocols.irc.IRCClient --+
                                                     |
                                                    IrcStatusBot

I represent the buildbot to an IRC server.

Nested Classes
  contactClass
Instance Methods
 
__init__(self, nickname, password, channels, pm_to_nicks, status, categories, notify_events, noticeOnChannel=False, useRevisions=False, showBlameList=False, useColors=True) source code
 
connectionMade(self)
Called when a connection is made.
source code
 
connectionLost(self, reason)
Called when the connection is shut down.
source code
 
msgOrNotice(self, dest, message) source code
 
getContact(self, name) source code
 
log(self, msg) source code
 
privmsg(self, user, channel, message)
Called when I have a message from a user to me or a channel.
source code
 
action(self, user, channel, data)
Called when I see a user perform an ACTION on a channel.
source code
 
signedOn(self)
Called after sucessfully signing on to the server.
source code
 
joined(self, channel)
Called when I finish joining a channel.
source code
 
left(self, channel)
Called when I have left a channel.
source code
 
kickedFrom(self, channel, kicker, message)
Called when I am kicked from a channel.
source code

Inherited from twisted.words.protocols.irc.IRCClient: __getstate__, alterCollidedNick, away, back, badMessage, bounce, created, ctcpMakeQuery, ctcpMakeReply, ctcpQuery, ctcpQuery_ACTION, ctcpQuery_CLIENTINFO, ctcpQuery_DCC, ctcpQuery_ERRMSG, ctcpQuery_FINGER, ctcpQuery_PING, ctcpQuery_SOURCE, ctcpQuery_TIME, ctcpQuery_USERINFO, ctcpQuery_VERSION, ctcpReply, ctcpReply_PING, ctcpUnknownQuery, ctcpUnknownReply, dataReceived, dccAcceptResume, dccDoAcceptResume, dccDoChat, dccDoResume, dccDoSend, dccResume, dccSend, dcc_ACCEPT, dcc_CHAT, dcc_RESUME, dcc_SEND, describe, getChannelModeParams, getUserModeParams, handleCommand, invite, irc_ERR_ERRONEUSNICKNAME, irc_ERR_NICKNAMEINUSE, irc_ERR_PASSWDMISMATCH, irc_JOIN, irc_KICK, irc_MODE, irc_NICK, irc_NOTICE, irc_PART, irc_PING, irc_PRIVMSG, irc_QUIT, irc_RPL_BOUNCE, irc_RPL_CREATED, irc_RPL_ENDOFMOTD, irc_RPL_ISUPPORT, irc_RPL_LUSERCHANNELS, irc_RPL_LUSERCLIENT, irc_RPL_LUSERME, irc_RPL_LUSEROP, irc_RPL_MOTD, irc_RPL_MOTDSTART, irc_RPL_MYINFO, irc_RPL_NOTOPIC, irc_RPL_TOPIC, irc_RPL_WELCOME, irc_RPL_YOURHOST, irc_TOPIC, irc_unknown, isupport, join, kick, leave, lineReceived, luserChannels, luserClient, luserMe, luserOp, mode, modeChanged, msg, myInfo, nickChanged, notice, noticed, part, ping, pong, quirkyMessage, quit, receivedMOTD, register, say, sendLine, setNick, startHeartbeat, stopHeartbeat, topic, topicUpdated, userJoined, userKicked, userLeft, userQuit, userRenamed, whois, yourHost

Inherited from twisted.protocols.basic.LineReceiver: __provides__, clearLineBuffer, lineLengthExceeded, rawDataReceived, setLineMode, setRawMode

Inherited from twisted.internet.protocol.Protocol: logPrefix

Inherited from twisted.internet.protocol.BaseProtocol: __providedBy__, makeConnection

Inherited from twisted.protocols.basic._PauseableMixin: pauseProducing, resumeProducing, stopProducing

Class Variables

Inherited from twisted.words.protocols.irc.IRCClient: __pychecker__, dcc_destdir, dcc_sessions, delimiter, performLogin

Inherited from twisted.protocols.basic.LineReceiver: MAX_LENGTH, __implemented__, line_mode

Inherited from twisted.internet.protocol.BaseProtocol: connected, transport

Inherited from twisted.protocols.basic._PauseableMixin: paused

Instance Variables

Inherited from twisted.words.protocols.irc.IRCClient: erroneousNickFallback, fingerReply, heartbeatInterval, hostname, lineRate, motd, nickname, password, realname, sourceURL, supported, userinfo, username, versionEnv, versionName, versionNum

Method Details

connectionMade(self)

source code 

Called when a connection is made.

This may be considered the initializer of the protocol, because it is called when the connection is completed. For clients, this is called once the connection to the server has been established; for servers, this is called after an accept() call stops blocking and a socket has been received. If you need to send any greeting or initial message, do it here.

Overrides: twisted.internet.protocol.BaseProtocol.connectionMade
(inherited documentation)

connectionLost(self, reason)

source code 

Called when the connection is shut down.

Clear any circular references here, and any external references to this Protocol. The connection has been closed.

Overrides: twisted.internet.protocol.Protocol.connectionLost
(inherited documentation)

privmsg(self, user, channel, message)

source code 

Called when I have a message from a user to me or a channel.

Overrides: twisted.words.protocols.irc.IRCClient.privmsg
(inherited documentation)

action(self, user, channel, data)

source code 

Called when I see a user perform an ACTION on a channel.

Overrides: twisted.words.protocols.irc.IRCClient.action
(inherited documentation)

signedOn(self)

source code 

Called after sucessfully signing on to the server.

Overrides: twisted.words.protocols.irc.IRCClient.signedOn
(inherited documentation)

joined(self, channel)

source code 

Called when I finish joining a channel.

channel has the starting character ('#', '&', '!', or '+') intact.

Overrides: twisted.words.protocols.irc.IRCClient.joined
(inherited documentation)

left(self, channel)

source code 

Called when I have left a channel.

channel has the starting character ('#', '&', '!', or '+') intact.

Overrides: twisted.words.protocols.irc.IRCClient.left
(inherited documentation)

kickedFrom(self, channel, kicker, message)

source code 

Called when I am kicked from a channel.

Overrides: twisted.words.protocols.irc.IRCClient.kickedFrom
(inherited documentation)