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

com.bytex.snamp.gateway.nagios.AttributeRequestProcessor Maven / Gradle / Ivy

The newest version!
package com.bytex.snamp.gateway.nagios;

import com.bytex.snamp.Acceptor;
import com.bytex.snamp.ExceptionPlaceholder;

import java.util.function.Consumer;
import java.util.function.Supplier;

/**
 * @author Roman Sakno
 * @version 2.0
 * @since 1.0
 */
final class AttributeRequestProcessor implements Consumer, Acceptor, Supplier {
    private NagiosPluginOutput output;

    @Override
    public void accept(final NagiosAttributeAccessor accessor) {
        this.output = accessor.toNagiosOutput();
    }

    @Override
    public NagiosPluginOutput get() {
        return output;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy