Home | Trees | Index | Help |
---|
Package beepy :: Package profiles :: Module timeprofile |
|
TimeProfile implements an example profile that sends the current time to the remote peer every second.
After a TimeProfile channel is started, a peer asks to receive the time every n seconds by sending a MSG with the following payload:time N
where N is the interval in seconds between when the time should be sent. For example, to send the time every 5 seconds, a peer would ask for:time 5
To stop the timeserver from sending timing messages, the client send a MSG containing the following payload:stop
The server will then issue a final time ANS message and stop sending the time.Classes | |
---|---|
TimeProfile |
A very basic example profile that just echos frames. |
Variable Summary | |
---|---|
str |
__profileClass__ = 'TimeProfile'
|
str |
uri = 'http://www.eigenmagic.com/beep/TIME'
|
Variable Details |
---|
__profileClass__
|
uri
|
Home | Trees | Index | Help |
---|
Generated by Epydoc 2.0 on Thu Sep 30 14:39:26 2004 | http://epydoc.sf.net |