| Trees | Index | Help |
|
|---|
| Module relay_registry :: Class Co2RelayRegistry |
|
Co2Registry --+
|
Co2RelayRegistry
| Method Summary | |
|---|---|
first calls Co2Registry's __init__, then does some initial stuff for its own (load eventual satellite dump file, init and kick off pinger and limiter etc.. | |
__str__(self)
(inherited from Co2Registry)
| |
| string callable as: co2.get_method_help, sys.methodHelp, web.get_method_help |
get help (the __doc__ string) for a specific method. (inherited from Co2Registry)
|
| list of strings callable as: co2.co2_get_method_names, sys.listMethods, web.get_method_names |
get the names of available methods. (inherited from Co2Registry)
|
| dictionary: 'args': list of argument names (strings), 'args_d': dictionary (key=argument name, value=argument value), 'args_v': list of variable arguments (unused in xmlrpc), 'args_kw': list of keyword arguments (unused in xmlrpc) callable as: co2.get_method_signature, sys.methodSignature, web.get_method_signature |
get a discription of how to use a specific method. (inherited from Co2Registry)
|
| int callable as: relay.get_num_satellites, co2.get_num_satellites, web.get_num_satellites |
get number of currently registered satellites. |
| dictionary: addr: address (list [<ip>, <port>]), host_id: the satellite's id (string), nick: the satellite's nickname (string, defaults to host_id), ctime: time of registration with the relay (DateTime), ping_current: last ping time in msecs, -1 if not pinged (float, xmlrpc: double), ping_count: number of pings sent, ping_min: shortest ping time (float, xmlrpc: double), ping_max: longest ping time (float, xmlrpc: double), ping_min: average ping time (float, xmlrpc: double), ping_fails: number of failed ping requests by the relay (int); send_count: number of relay.relay calls by that satellite (int), send_time: most recent message originating from this satellite (DateTime); recv_count: number of notify calls to that satellite (int), recv_time: most recent message relayed to this satellite (DateTime) callable as: relay.get_satellite_props, co2.get_satellite_props, web.get_satellite_props (and co2.get_satellite for backwards compatibility) |
get status / statistical information from a satellite. |
| float callable as: relay.get_satellite_ctime, co2.get_satellite_ctime, web.get_satellite_ctime |
get a satellites creation (=registration) time. |
| dictionary: addr: address (list [<ip>, <port>]), host_id: the satellite's id (string), nick: the satellite's nickname (string, defaults to host_id), ctime: time of registration with the relay (DateTime), ping_current: last ping time in msecs, -1 if not pinged (float, xmlrpc: double), ping_count: number of pings sent, ping_min: shortest ping time (float, xmlrpc: double), ping_max: longest ping time (float, xmlrpc: double), ping_min: average ping time (float, xmlrpc: double), ping_fails: number of failed ping requests by the relay (int); send_count: number of relay.relay calls by that satellite (int), send_time: most recent message originating from this satellite (DateTime); recv_count: number of notify calls to that satellite (int), recv_time: most recent message relayed to this satellite (DateTime) callable as: relay.get_satellite_props, co2.get_satellite_props, web.get_satellite_props (and co2.get_satellite for backwards compatibility) |
get status / statistical information from a satellite. |
| list of strings callable as: relay.get_satellites, co2.get_satellites, web.get_satellites |
get IDs of currently registered satellites. |
| string |
revoke a satellite's registration. |
| int callable as: relay.get_max_satellites |
get the maximum number of satellites that are allowed to be registered simultaniously. |
| int callable as: relay.get_num_satellites, co2.get_num_satellites, web.get_num_satellites |
get number of currently registered satellites. |
| float callable as: relay.get_satellite_ctime, co2.get_satellite_ctime, web.get_satellite_ctime |
get a satellites creation (=registration) time. |
| dictionary: addr: address (list [<ip>, <port>]), host_id: the satellite's id (string), nick: the satellite's nickname (string, defaults to host_id), ctime: time of registration with the relay (DateTime), ping_current: last ping time in msecs, -1 if not pinged (float, xmlrpc: double), ping_count: number of pings sent, ping_min: shortest ping time (float, xmlrpc: double), ping_max: longest ping time (float, xmlrpc: double), ping_min: average ping time (float, xmlrpc: double), ping_fails: number of failed ping requests by the relay (int); send_count: number of relay.relay calls by that satellite (int), send_time: most recent message originating from this satellite (DateTime); recv_count: number of notify calls to that satellite (int), recv_time: most recent message relayed to this satellite (DateTime) callable as: relay.get_satellite_props, co2.get_satellite_props, web.get_satellite_props (and co2.get_satellite for backwards compatibility) |
get status / statistical information from a satellite. |
x_relay_get_satellite_props_raw(self,
param_dict)
| |
| list of strings callable as: relay.get_satellites, co2.get_satellites, web.get_satellites |
get IDs of currently registered satellites. |
| string callable as: relay.register |
register a satellite. |
| string |
relay data to satellites. |
| dictionary [key: value-type (description)]: co2_author: string (server author); kernel: string (host kernel name); uptime: int (server uptime in seconds); operating_system: string (host operating system); maintainer: string (server maintainer); start_time: DateTime (server start time); sw_platform: string (co2 software platform); hw_platform: string (host hardware platform); co2_version: string (co2 version); maintainer_email: string (server maintainer email); hardware: string (host hardware); plugins: list of strings (loaded plugins); server_time: DateTime (server time); processor: string (host processor) callable as: system.get_properties, web.get_properties |
get system properties. (inherited from Co2Registry)
|
| list of strings callable as: co2.co2_get_method_names, sys.listMethods, web.get_method_names |
get the names of available methods. (inherited from Co2Registry)
|
| string callable as: co2.get_method_help, sys.methodHelp, web.get_method_help |
get help (the __doc__ string) for a specific method. (inherited from Co2Registry)
|
| dictionary: 'args': list of argument names (strings), 'args_d': dictionary (key=argument name, value=argument value), 'args_v': list of variable arguments (unused in xmlrpc), 'args_kw': list of keyword arguments (unused in xmlrpc) callable as: co2.get_method_signature, sys.methodSignature, web.get_method_signature |
get a discription of how to use a specific method. (inherited from Co2Registry)
|
'anonymized' call method. (inherited from Co2Registry)
| |
| string callable as: ping, web.ping |
answer a ping request. (inherited from Co2Registry)
|
| param_dict callable as: test, web.test |
just a test method... (inherited from Co2Registry)
|
'anonymized' call method. (inherited from Co2Registry)
| |
| string callable as: co2.get_method_help, sys.methodHelp, web.get_method_help |
get help (the __doc__ string) for a specific method. (inherited from Co2Registry)
|
| list of strings callable as: co2.co2_get_method_names, sys.listMethods, web.get_method_names |
get the names of available methods. (inherited from Co2Registry)
|
| dictionary: 'args': list of argument names (strings), 'args_d': dictionary (key=argument name, value=argument value), 'args_v': list of variable arguments (unused in xmlrpc), 'args_kw': list of keyword arguments (unused in xmlrpc) callable as: co2.get_method_signature, sys.methodSignature, web.get_method_signature |
get a discription of how to use a specific method. (inherited from Co2Registry)
|
| int callable as: relay.get_num_satellites, co2.get_num_satellites, web.get_num_satellites |
get number of currently registered satellites. |
| dictionary [key: value-type (description)]: co2_author: string (server author); kernel: string (host kernel name); uptime: int (server uptime in seconds); operating_system: string (host operating system); maintainer: string (server maintainer); start_time: DateTime (server start time); sw_platform: string (co2 software platform); hw_platform: string (host hardware platform); co2_version: string (co2 version); maintainer_email: string (server maintainer email); hardware: string (host hardware); plugins: list of strings (loaded plugins); server_time: DateTime (server time); processor: string (host processor) callable as: system.get_properties, web.get_properties |
get system properties. (inherited from Co2Registry)
|
| float callable as: relay.get_satellite_ctime, co2.get_satellite_ctime, web.get_satellite_ctime |
get a satellites creation (=registration) time. |
| dictionary: addr: address (list [<ip>, <port>]), host_id: the satellite's id (string), nick: the satellite's nickname (string, defaults to host_id), ctime: time of registration with the relay (DateTime), ping_current: last ping time in msecs, -1 if not pinged (float, xmlrpc: double), ping_count: number of pings sent, ping_min: shortest ping time (float, xmlrpc: double), ping_max: longest ping time (float, xmlrpc: double), ping_min: average ping time (float, xmlrpc: double), ping_fails: number of failed ping requests by the relay (int); send_count: number of relay.relay calls by that satellite (int), send_time: most recent message originating from this satellite (DateTime); recv_count: number of notify calls to that satellite (int), recv_time: most recent message relayed to this satellite (DateTime) callable as: relay.get_satellite_props, co2.get_satellite_props, web.get_satellite_props (and co2.get_satellite for backwards compatibility) |
get status / statistical information from a satellite. |
| list of strings callable as: relay.get_satellites, co2.get_satellites, web.get_satellites |
get IDs of currently registered satellites. |
| string callable as: ping, web.ping |
answer a ping request. (inherited from Co2Registry)
|
| param_dict callable as: test, web.test |
just a test method... (inherited from Co2Registry)
|
| Method Details |
|---|
__init__(self,
vars)
first calls Co2Registry's __init__, then does some initial stuff for
its own (load eventual satellite dump file, init and kick off pinger
and limiter etc..
|
x_co2_get_num_satellites(self, param_dict={})get number of currently registered satellites.
|
x_co2_get_satellite(self, param_dict)get status / statistical information from a satellite.
|
x_co2_get_satellite_ctime(self, param_dict)get a satellites creation (=registration) time.
|
x_co2_get_satellite_props(self, param_dict)get status / statistical information from a satellite.
|
x_co2_get_satellites(self, param_dict={})get IDs of currently registered satellites.
|
x_relay_deregister(self, param_dict)revoke a satellite's registration. should be called by satellites before they shut down. the calling client's address must match the supplied host id.
|
x_relay_get_max_satellites(self, param_dict={})get the maximum number of satellites that are allowed to be registered simultaniously.
|
x_relay_get_num_satellites(self, param_dict={})get number of currently registered satellites.
|
x_relay_get_satellite_ctime(self, param_dict)get a satellites creation (=registration) time.
|
x_relay_get_satellite_props(self, param_dict)get status / statistical information from a satellite.
|
x_relay_get_satellites(self, param_dict={})get IDs of currently registered satellites.
|
x_relay_register(self, param_dict)register a satellite. satellites that want to use relaying must call this method first. if the limit self.vars['max_sats'] (set in the config file) is reached, an exception is thrown and a Fault is returned to the caller.
|
x_relay_relay(self, param_dict)relay data to satellites. this actually only puts the data into thelimiter.Limiter's queue.
|
x_web_get_num_satellites(self, param_dict={})get number of currently registered satellites.
|
x_web_get_satellite_ctime(self, param_dict)get a satellites creation (=registration) time.
|
x_web_get_satellite_props(self, param_dict)get status / statistical information from a satellite.
|
x_web_get_satellites(self, param_dict={})get IDs of currently registered satellites.
|
| Trees | Index | Help |
|
|---|
| Generated by Epydoc 1.1 on Thu Oct 16 16:37:22 2003 | http://epydoc.sf.net |