Home | Trees | Index | Help |
|
---|
Package twisted :: Package words :: Module tendril :: Class TendrilIRC |
|
Ephemeral
--+ |BaseProtocol
--+ | | |Protocol
--+ | | |LineReceiver
--+ | | |IRCClient
--+ | TendrilIRC
Method Summary | |
---|---|
Create a new Tendril IRC client. | |
Speak about a participant in third-person. | |
Commands for brokering DCC handshakes. | |
bot_help(self,
user,
params)
| |
Pass along a message as a directMessage to a words Participant | |
botUnknown(self,
user,
channel,
message)
| |
When I lose a connection, log out all my IRC participants. | |
Accept DCC handshakes, for passing on to others. | |
When I can't get on a channel, report it. | |
When I can't get on a channel, report it. | |
When I can't get on a channel, report it. | |
When I can't get on a channel, report it. | |
When I can't get on a channel, report it. | |
irc_ERR_NOTREGISTERED(self,
prefix,
params)
| |
When I can't get on a channel, report it. | |
Accept an invitation, if it's in my groupList. | |
Join IRC user to the corresponding group. | |
Kicked? Who? Not me, I hope. | |
When an IRC user changes their nickname | |
Parting IRC members leave the correspoding group. | |
When a user quits IRC, log out their participant. | |
Announce the new topic. | |
Override this for when each line is received. | |
I need to give Twisted a prioritized logging facility one of these days. | |
Pass channel notices on to the group. | |
Dispatch privmsg as a groupMessage or a command, as appropriate. | |
Send a line through my transport, unless my transport isn't up. | |
Join my groupList once I've signed on. | |
Inherited from IRCClient | |
| |
| |
| |
When I get a message that's so broken I can't use it. | |
Called with information about where the client should reconnect. | |
Called when a connection is made. | |
Called with creation date information about the server, usually at logon. | |
Send one or more extended messages as a CTCP query. | |
Send one or more extended messages as a CTCP reply. | |
Dispatch method for any CTCP queries received. | |
| |
A master index of what CTCP tags this client knows. | |
| |
| |
| |
| |
| |
| |
| |
Dispatch method for any CTCP replies received. | |
| |
| |
Called when a fitting ctcpReply_ method is not found. | |
Protocol.dataReceived. | |
| |
| |
| |
| |
Send a DCC ACCEPT response to clients who have requested a resume. | |
Called when a client has verified and accepted a DCC resume request made by us. | |
| |
Called when a client is trying to resume an offered file via DCC send. | |
Called when I receive a DCC SEND offer from a client. | |
Send a DCC RESUME request to another user. | |
| |
Determine the function to call for the given command and call it with the given arguments. | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
I just joined the channel, and the server is telling me the current topic. | |
| |
| |
| |
Called with various information about what the server supports. | |
| |
Called when I finish joining a channel. | |
| |
Called when I am kicked from a channel. | |
| |
Called when I have left a channel. | |
Called with the number of channels existant on the server. | |
Called with information about the number of connections, usually at logon. | |
Called with information about the server connected to. | |
Called with the number of ops logged on to the server. | |
Strike a pose. | |
Change the modes on a user or channel. | |
Called when a channel's modes are changed | |
Send a message to a user or channel. | |
Called with information about the server, usually at logon. | |
Called when my nick has been changed. | |
| |
| |
Measure round-trip delay to another IRC client. | |
Called with the results of a CTCP PING query. | |
This is called when I receive a message which is peculiar, but not wholly indecipherable. | |
| |
I received a message-of-the-day banner from the server. | |
| |
| |
| |
Attempt to set the topic of the given channel, or ask what it is. | |
In channel, user changed the topic to newTopic. | |
Called when I see another user joining a channel. | |
Called when I observe someone else being kicked from a channel. | |
Called when I see another user leaving a channel. | |
A user changed their name from oldname to newname. | |
Called with daemon information about the server, usually at logon. | |
Inherited from LineReceiver | |
Clear buffered data. | |
Called when the maximum line length has been reached. | |
Override this for when raw data is received. | |
Sets the line-mode of this receiver. | |
Sets the raw mode of this receiver. | |
Inherited from Protocol | |
(Deprecated) | |
Inherited from BaseProtocol | |
Make a connection to a transport and a server. | |
Inherited from Ephemeral | |
|
Instance Variable Summary | |
---|---|
NoneType |
realname : Supplied to the server during login as the "Real name" or
"ircname". |
NoneType |
versionEnv : CTCP VERSION reply, environment the client is running in. |
NoneType |
versionName : CTCP VERSION reply, client name. |
NoneType |
versionNum : CTCP VERSION reply, client version, |
Inherited from IRCClient | |
Callable or String | fingerReply : Sent in reply to a FINGER CTCP query. |
Number of Seconds. | lineRate : Minimum delay between lines sent to the server. |
str |
nickname : Nickname the client will use. |
NoneType |
password : Password used to log on to the server. |
str |
sourceURL : CTCP SOURCE reply, a URL where the source code of this client may be
found. |
NoneType |
userinfo : Sent in reply to a USERINFO CTCP query. |
Class Variable Summary | |
---|---|
tuple |
helptext = ("Hi, I'm a Tendril bridge between here and %...
|
NoneType |
words = None |
Inherited from IRCClient | |
str |
__pychecker__ = 'unusednames=params,prefix,channel'
|
int |
_MAX_PINGRING = 12 |
NoneType |
_pings = None |
NoneType |
_queue = None |
NoneType |
_queueEmptying = None |
str |
dcc_destdir = '.'
|
NoneType |
dcc_sessions = None |
str |
delimiter : The line-ending delimiter to use. |
str |
motd = ''
|
int |
performLogin = 1 |
Inherited from LineReceiver | |
str |
_LineReceiver__buffer = ''
|
int |
line_mode = 1 |
int |
MAX_LENGTH : The maximum length of a line to allow (If a sent line is longer than
this, the connection is dropped). |
Inherited from Protocol | |
tuple |
__implements__ = (<class twisted.internet.interfaces.IPr...
|
Inherited from BaseProtocol | |
int |
connected = 0 |
NoneType |
transport = None |
Method Details |
---|
__init__(self)
Create a new Tendril IRC client.
|
action(self, user, channel, message)Speak about a participant in third-person.
|
bot_DCC(self, user, params)Commands for brokering DCC handshakes. DCC -- I'll tell you if I'm holding a DCC request from you. DCC PASSTO nick -- give the DCC request you gave me to this nick. DCC FORGET -- forget any DCC requests you offered to me. |
bot_msg(self, sender, params)Pass along a message as a directMessage to a words Participant |
connectionLost(self, reason)When I lose a connection, log out all my IRC participants. |
ctcpQuery_DCC(self, user, channel, data)Accept DCC handshakes, for passing on to others. |
irc_ERR_BADCHANNELKEY(self, prefix, params)When I can't get on a channel, report it. |
irc_ERR_BANNEDFROMCHAN(self, prefix, params)When I can't get on a channel, report it. |
irc_ERR_CHANNELISFULL(self, prefix, params)When I can't get on a channel, report it. |
irc_ERR_INVITEONLYCHAN(self, prefix, params)When I can't get on a channel, report it. |
irc_ERR_NOSUCHCHANNEL(self, prefix, params)When I can't get on a channel, report it. |
irc_ERR_UNAVAILRESOURCE(self, prefix, params)When I can't get on a channel, report it. |
irc_INVITE(self, prefix, params)Accept an invitation, if it's in my groupList. |
irc_JOIN(self, prefix, params)Join IRC user to the corresponding group.
|
irc_KICK(self, prefix, params)Kicked? Who? Not me, I hope.
|
irc_NICK(self, prefix, params)When an IRC user changes their nickname this does *not* change the name of their perspectivee, just my nickname->perspective and client->nickname mappings.
|
irc_PART(self, prefix, params)Parting IRC members leave the correspoding group.
|
irc_QUIT(self, prefix, params)When a user quits IRC, log out their participant. |
irc_TOPIC(self, prefix, params)Announce the new topic.
|
lineReceived(self, line)Override this for when each line is received.
|
log(self, message, priority=None)I need to give Twisted a prioritized logging facility one of these days. |
noticed(self, user, channel, message)Pass channel notices on to the group.
|
privmsg(self, user, channel, message)Dispatch privmsg as a groupMessage or a command, as appropriate.
|
sendLine(self, line)Send a line through my transport, unless my transport isn't up.
|
signedOn(self)Join my groupList once I've signed on.
|
Instance Variable Details |
---|
realnameSupplied to the server during login as the "Real name" or "ircname".
|
versionEnvCTCP VERSION reply, environment the client is running in.
|
versionNameCTCP VERSION reply, client name. IfNone , no VERSION
reply will be sent.
|
versionNumCTCP VERSION reply, client version,
|
Class Variable Details |
---|
helptext
|
words
|
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.0 on Sat May 15 20:08:13 2004 | http://epydoc.sf.net |