| Home | Trees | Index | Help |
|---|
| Package tp :: Package client :: Module threads :: Class FinderThread |
|
object--+ |_Verbose--+ |Thread--+ |CallThread--+ | FinderThread
The finder thread deals with finding games. It uses both Zeroconf and talks to the metaserver to get the information it needs.
| Method Summary | |
|---|---|
__init__(self,
application)
| |
Ask the thread to try and exit. | |
FoundLocalGame(self,
game)
| |
FoundRemoteGame(self,
game)
| |
Get all the currently known games. | |
LostLocalGame(self,
game)
| |
LostRemoteGame(self,
game)
| |
Post an Event the current thread. | |
run(self)
| |
| Inherited from CallThread | |
Queue a call to method in on thread. | |
Called when an exception occurs in a function which was called. | |
Called every time th run goes around a loop. | |
Called when there is nothing left to do. | |
| |
| Inherited from Thread | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| Inherited from _Verbose | |
| |
| Inherited from object | |
x.__delattr__('name') <==> del x.name... | |
x.__getattribute__('name') <==> x.name... | |
x.__hash__() <==> hash(x)... | |
T.__new__(S, ...) -> a new object with type S, a subtype of T... | |
helper for pickle... | |
helper for pickle... | |
x.__setattr__('name', value) <==> x.name = value... | |
x.__str__() <==> str(x)... | |
| Class Variable Summary | |
|---|---|
classobj |
FinderErrorEvent = tp.client.threads.FinderErrorEvent |
classobj |
FinderFinishedEvent = tp.client.threads.FinderFinishedEvent |
classobj |
FoundGameEvent = tp.client.threads.FoundGameEvent |
classobj |
FoundLocalGameEvent = tp.client.threads.FoundLocalGameEvent |
classobj |
FoundRemoteGameEvent = tp.client.threads.FoundRemoteGameEvent |
classobj |
GameEvent = tp.client.threads.GameEvent |
classobj |
LostGameEvent = tp.client.threads.LostGameEvent |
classobj |
LostLocalGameEvent = tp.client.threads.LostLocalGameEvent |
classobj |
LostRemoteGameEvent = tp.client.threads.LostRemoteGameEvent |
str |
name = 'Finder'
|
| Inherited from Thread | |
bool |
_Thread__initialized = False
|
| Method Details |
|---|
Cleanup(self)Ask the thread to try and exit.
|
Games(self)Get all the currently known games. |
Post(self, event)Post an Event the current thread.
|
| Class Variable Details |
|---|
name
|
| Home | Trees | Index | Help |
|---|
| Generated by Epydoc 2.1 on Fri Jan 1 08:00:26 2010 | http://epydoc.sf.net |