Home | Trees | Index | Help |
---|
Package twisted :: Package protocols :: Module msn :: Class MSNDispatchClient |
|
BaseProtocol
--+ |Protocol
--+ |LineReceiver
--+ |MSNEventBase
--+ | MSNDispatchClient
Method Summary | |
---|---|
__init__(self)
(inherited from MSNEventBase )
| |
process received messages to check for file invitations and typing notifications and other control type messages (inherited from MSNEventBase )
| |
Clear buffered data. (inherited from LineReceiver )
| |
(Deprecated) (inherited from Protocol )
| |
Called when the connection is shut down. (inherited from MSNEventBase )
| |
Called when a connection is made. | |
Protocol.dataReceived. (inherited from LineReceiver )
| |
called when a handler notifies me that this line is broken (inherited from MSNEventBase )
| |
called when the server sends an error which is not in response to a sent command (ie. (inherited from MSNEventBase )
| |
called when we receive a message - override in notification and switchboard clients (inherited from MSNEventBase )
| |
called when we get a referral to the notification server. | |
handle_INF(self,
params)
| |
handle_MSG(self,
params)
(inherited from MSNEventBase )
| |
implement me in subclasses if you want to handle unknown events (inherited from MSNEventBase )
| |
handle_VER(self,
params)
| |
handle_XFR(self,
params)
| |
Called when the maximum line length has been reached. (inherited from LineReceiver )
| |
Override this for when each line is received. (inherited from MSNEventBase )
| |
Make a connection to a transport and a server. (inherited from BaseProtocol )
| |
Override this for when raw data is received. (inherited from MSNEventBase )
| |
Sends a line to the other end of the connection. (inherited from LineReceiver )
| |
Sets the line-mode of this receiver. (inherited from LineReceiver )
| |
Sets the raw mode of this receiver. (inherited from LineReceiver )
| |
return a unique transaction ID that is mapped internally to a deferred .. (inherited from MSNEventBase )
| |
Fire the callback for the given id if one exists and return 1, else return false (inherited from MSNEventBase )
| |
return a usable transaction ID (inherited from MSNEventBase )
|
Instance Variable Summary | |
---|---|
userHandle
- your user handle (passport) needed before connecting. |
Class Variable Summary | |
---|---|
str |
userHandle
|
Method Details |
---|
connectionMade(self)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.
|
gotNotificationReferral(self, host, port)called when we get a referral to the notification server.
|
Instance Variable Details |
---|
userHandleyour user handle (passport) needed before connecting. |
Class Variable Details |
---|
userHandle
|
Home | Trees | Index | Help |
---|
Generated by Epydoc 1.1 on Fri Jun 27 03:48:33 2003 | http://epydoc.sf.net |