Home | Trees | Index | Help |
|
---|
Package twisted :: Package protocols :: Package mice :: Module mouseman :: Class MouseMan |
|
BaseProtocol
--+ |Protocol
--+ | MouseMan
Method Summary | |
---|---|
Called whenever data is received. | |
down_left(self)
| |
down_middle(self)
| |
down_right(self)
| |
move(self,
x,
y)
| |
snapshot(self)
| |
state_horiz(self,
byte)
| |
state_initial(self,
byte)
| |
state_maybemiddle(self,
byte)
| |
state_vert(self,
byte)
| |
up_left(self)
| |
up_middle(self)
| |
up_right(self)
| |
Inherited from Protocol | |
(Deprecated) | |
Called when the connection is shut down. | |
Inherited from BaseProtocol | |
Called when a connection is made. | |
Make a connection to a transport and a server. |
Class Variable Summary | |
---|---|
NoneType |
horiz = None |
NoneType |
horizold = None |
NoneType |
leftbutton = None |
NoneType |
leftold = None |
NoneType |
middlebutton = None |
NoneType |
middleold = None |
NoneType |
rightbutton = None |
NoneType |
rightold = None |
str |
state = 'initial'
|
NoneType |
vert = None |
NoneType |
vertold = None |
Inherited from Protocol | |
tuple |
__implements__ = (<class twisted.internet.interfaces.IPr...
|
Inherited from BaseProtocol | |
int |
connected = 0 |
NoneType |
transport = None |
Method Details |
---|
dataReceived(self, data)Called whenever data is received. Use this method to translate to a higher-level message. Usually, some callback will be made upon the receipt of each complete protocol message.
|
Class Variable Details |
---|
horiz
|
horizold
|
leftbutton
|
leftold
|
middlebutton
|
middleold
|
rightbutton
|
rightold
|
state
|
vert
|
vertold
|
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.0 on Sat May 15 20:08:31 2004 | http://epydoc.sf.net |