X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=bindings%2Fjava%2Forg%2Fcollectd%2Fapi%2FCollectdAPI.java;h=8cbefdcc0e198ded6c28f36191cda48ddd073f5b;hb=1fce03592b00122685a768d499ee0f0ff350ba4c;hp=167112f9cca919e0adeec95af06be5869b78a8fd;hpb=0c81bb3843c6209d8bc21abbacbeab9e3da15189;p=collectd.git diff --git a/bindings/java/org/collectd/api/CollectdAPI.java b/bindings/java/org/collectd/api/CollectdAPI.java index 167112f9..8cbefdcc 100644 --- a/bindings/java/org/collectd/api/CollectdAPI.java +++ b/bindings/java/org/collectd/api/CollectdAPI.java @@ -21,11 +21,28 @@ package org.collectd.api; +/** + * Java API to internal functions of collectd. + * + * @author Florian Forster <octo at verplant.org> + */ public class CollectdAPI { + /** + * Java representation of collectd/src/plugin.h:plugin_dispatch_values + */ native public static int DispatchValues (ValueList vl); + /** + * Java representation of collectd/src/plugin.h:plugin_get_ds + */ native public static DataSet GetDS (String type); + + /** + * Java representation of collectd/src/plugin.h:plugin_register_read + */ + native public static int RegisterRead (String name, + CollectdReadInterface obj); } /* class CollectdAPI */ /* vim: set sw=2 sts=2 et fdm=marker : */