1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17 from twisted.spread import pb
18
20 """To use this, call my .connected method with a RemoteReference to the
21 buildmaster's StatusClientPerspective object.
22 """
23
25 self.builders = {}
26 self.events = events
27
29 print "connected"
30 self.remote = remote
31 remote.callRemote("subscribe", self.events, 5, self)
32
34 print "builderAdded", buildername
35
37 print "builderRemoved", buildername
38
40 print "builderChangedState", buildername, state, eta
41
43 print "buildStarted", buildername
44
47
49 print "ETA", buildername, eta
50
52 print "stepStarted", buildername, stepname
53
55 print "stepFinished", buildername, stepname, results
56
59 print "stepETA", buildername, stepname, eta
60
63 print "logStarted", buildername, stepname
64
67 print "logFinished", buildername, stepname
68
69 - def remote_logChunk(self, buildername, build, stepname, step, logname, log,
70 channel, text):
73