Changes between Version 3 and Version 4 of TrickleApi
- Timestamp:
- Apr 25, 2007, 8:50:43 PM (18 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TrickleApi
v3 v4 34 34 }}} 35 35 36 This function should return zero if the message was handled successfully; otherwise it will be retried later. The 'hostid' field identifies the host from which the message was sent. The daemon must be passed a '-variety X' command-line argument, telling it what kind of messages to handle. The daemon should be specified in the [ http://boinc.berkeley.edu/project_daemons.phpproject configuration file].36 This function should return zero if the message was handled successfully; otherwise it will be retried later. The 'hostid' field identifies the host from which the message was sent. The daemon must be passed a '-variety X' command-line argument, telling it what kind of messages to handle. The daemon should be specified in the [ProjectDaemons project configuration file]. 37 37 38 38 To send send trickle-down messages (from a trickle handler daemon or other program) you must insert a record in the 'msg_to_host' table. From C/C++, this is done as follows: