| Home | Trees | Index | Help |
|---|
| Package tp :: Package netlib :: Package discover :: Module browse :: Class ZeroConfBrowser |
|
object--+ |Browser--+ | ZeroConfBrowser
ZeroConfBrowser| Method Summary | |
|---|---|
__init__(self)
| |
GameFound(self,
game)
| |
GameGone(self,
game)
| |
GameUpdate(self,
game)
| |
ServiceFound(name, type, addr, tpproto, required, optional) type in ['tp', 'tps', 'tp+http', 'tp+https'] addr is (dns, ip, port) Required Parameters: tp, is a list of version strings server, version of the server servtype, server type (tpserver-cpp, tpserver-py) rule, ruleset name (MiniSec, TPSec, MyCustomRuleset) rulever, version of the ruleset Optional parameters: plys, number of players in the game cons, number of clients currently connected objs, number of "objects" in the game universe admin, admin email address cmt, comment about the game turn, unixtime stamp (GMT) when next turn is generated Called when a new server is found. | |
Called when a server goes away. | |
| 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.__repr__() <==> repr(x)... | |
x.__setattr__('name', value) <==> x.name = value... | |
x.__str__() <==> str(x)... | |
| Class Variable Summary | |
|---|---|
dict |
ZeroconfMap = {'tp-https': 'tp+https', 'tps': 'tps', 'tp...
|
| Method Details |
|---|
ServiceFound(self, name, type, addr, required, optional)ServiceFound(name, type, addr, tpproto, required, optional) type in ['tp', 'tps', 'tp+http', 'tp+https'] addr is (dns, ip, port) Required Parameters: tp, is a list of version strings server, version of the server servtype, server type (tpserver-cpp, tpserver-py) rule, ruleset name (MiniSec, TPSec, MyCustomRuleset) rulever, version of the ruleset Optional parameters: plys, number of players in the game cons, number of clients currently connected objs, number of "objects" in the game universe admin, admin email address cmt, comment about the game turn, unixtime stamp (GMT) when next turn is generated Called when a new server is found. |
ServiceGone(self, name, type, addr)Called when a server goes away. GameGone(name, type, addr) type in ['tp', 'tps', 'tp+http', 'tp+https'] addr is (dns, ip, port) |
| Class Variable Details |
|---|
ZeroconfMap
|
| Home | Trees | Index | Help |
|---|
| Generated by Epydoc 2.1 on Fri Jan 1 08:00:25 2010 | http://epydoc.sf.net |