twisted.words.protocols.oscar.BOSConnection(SNACBased)
class documentationtwisted.words.protocols.oscar
View Source
(View In Hierarchy)
Method | __init__ | Undocumented |
Method | parseUser | Undocumented |
Method | oscar_01_05 | data for a new service connection d might be a deferred to be called back when the service is ready |
Method | oscar_01_07 | rate parameters |
Method | oscar_01_10 | we've been warned |
Method | oscar_01_13 | MOTD |
Method | oscar_02_03 | location rights response |
Method | oscar_03_03 | buddy list rights response |
Method | oscar_03_0B | buddy update |
Method | oscar_03_0C | buddy offline |
Method | oscar_04_05 | ICBM parms response |
Method | oscar_04_07 | ICBM message (instant message) |
Method | oscar_09_03 | BOS rights response |
Method | oscar_0B_02 | stats reporting interval |
Method | oscar_13_03 | SSI rights response |
Method | requestSelfInfo | ask for the OSCARUser for ourselves |
Method | initSSI | this sends the rate request for family 0x13 (Server Side Information) so we can then use it |
Method | requestSSI | request the server side information if the deferred gets None, it means the SSI is the same |
Method | activateSSI | active the data stored on the server (use buddy list, permit deny settings, etc.) |
Method | startModifySSI | tell the OSCAR server to be on the lookout for SSI modifications |
Method | addItemSSI | add an item to the SSI server. if buddyID == 0, then this should be a group. this gets a callback when it's finished, but you can probably ignore it. |
Method | modifyItemSSI | Undocumented |
Method | delItemSSI | Undocumented |
Method | endModifySSI | Undocumented |
Method | setProfile | set the profile. send None to not set a profile (different from '' for a blank one) |
Method | setAway | set the away message, or return (if away == None) |
Method | setIdleTime | set our idle time. don't call more than once with a non-0 idle time. |
Method | sendMessage | No summary |
Method | connectService | connect to another service if wantCallback, we return a Deferred that gets called back when the service is online. if extraData, append that to our request. |
Method | createChat | create a chat room |
Method | joinChat | join a chat room |
Method | warnUser | Undocumented |
Method | getInfo | Undocumented |
Method | getAway | Undocumented |
Method | initDone | called when we get the rate information, which means we should do other init. stuff. |
Method | updateBuddy | called when a buddy changes status, with the OSCARUser for that buddy. |
Method | offlineBuddy | called when a buddy goes offline |
Method | receiveMessage | called when someone sends us a message |
Method | receiveWarning | called when someone warns us. user is either None (if it was anonymous) or an OSCARUser |
Method | receiveChatInvite | called when someone invites us to a chat room |
Method | chatReceiveMessage | called when someone in a chatroom sends us a message in the chat |
Method | chatMemberJoined | called when a member joins the chat |
Method | chatMemberLeft | called when a member leaves the chat |
Method | receiveSendFileRequest | called when someone tries to send a file to us |
Method | _cbGetChatInfoForInvite | Undocumented |
Method | _cbRequestSelfInfo | Undocumented |
Method | _cbInitSSI | Undocumented |
Method | _cbRequestSSI | Undocumented |
Method | _cbSendMessageAck | Undocumented |
Method | _cbConnectService | Undocumented |
Method | _cbJoinChat | Undocumented |
Method | _cbWarnUser | Undocumented |
Method | _cbGetInfo | Undocumented |
Method | _cbGetAway | Undocumented |
Inherited from BaseProtocol (via SNACBased, OscarConnection, Protocol):
Method | makeConnection | Make a connection to a transport and a server. |
Inherited from BaseProtocol (via SNACBased, OscarConnection, Protocol):
Method | makeConnection | Make a connection to a transport and a server. |
Inherited from BaseProtocol (via SNACBased, OscarConnection, Protocol):
Method | makeConnection | Make a connection to a transport and a server. |
Inherited from BaseProtocol (via SNACBased, OscarConnection, Protocol):
Method | makeConnection | Make a connection to a transport and a server. |
data for a new service connection d might be a deferred to be called back when the service is ready
this sends the rate request for family 0x13 (Server Side Information) so we can then use it
request the server side information if the deferred gets None, it means the SSI is the same
active the data stored on the server (use buddy list, permit deny settings, etc.)
add an item to the SSI server. if buddyID == 0, then this should be a group. this gets a callback when it's finished, but you can probably ignore it.
set the profile. send None to not set a profile (different from '' for a blank one)
set our idle time. don't call more than once with a non-0 idle time.
send a message to user (not an OSCARUseR). message can be a string, or a multipart tuple. if wantAck, we return a Deferred that gets a callback when the message is sent. if autoResponse, this message is an autoResponse, as if from an away message. if offline, this is an offline message (ICQ only, I think)
connect to another service if wantCallback, we return a Deferred that gets called back when the service is online. if extraData, append that to our request.
called when we get the rate information, which means we should do other init. stuff.
called when a buddy changes status, with the OSCARUser for that buddy.
called when someone warns us. user is either None (if it was anonymous) or an OSCARUser
called when someone invites us to a chat room
called when someone in a chatroom sends us a message in the chat
called when someone tries to send a file to us