All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.collectd.protocol.Dispatcher Maven / Gradle / Ivy

Go to download

The jcollectd package implements the collectd protocol in Java, making it possible for Java applications to push data into collectd over the wire.

The newest version!
/*
 * jcollectd
 * Copyright (C) 2009 Hyperic, Inc.
 * 
 * This program is free software; you can redistribute it and/or modify it
 * under the terms of the GNU General Public License as published by the
 * Free Software Foundation; only version 2 of the License is applicable.
 * 
 * This program is distributed in the hope that it will be useful, but
 * WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * General Public License for more details.
 * 
 * You should have received a copy of the GNU General Public License along
 * with this program; if not, write to the Free Software Foundation, Inc.,
 * 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
 */

package org.collectd.protocol;

import org.collectd.api.ValueList;
import org.collectd.api.Notification;

/**
 * Java interface equivalent of:
 * collectd/src/plugin.h:plugin_dispatch_values,plugin_dispatch_notification 
 */
public interface Dispatcher {
    public void dispatch(ValueList values);

    public void dispatch(Notification notification);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy