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

pl.chilldev.commons.jsonrpc.client.introspector.ParameterMapper Maven / Gradle / Ivy

Go to download

Bridge library that helps building JSON-RPC daemons using Apache MINA and JSON-RPC 2.0 Base libraries.

The newest version!
/**
 * This file is part of the ChillDev-Commons.
 *
 * @license http://mit-license.org/ The MIT license
 * @copyright 2015 © by Rafał Wrzeszcz - Wrzasq.pl.
 */

package pl.chilldev.commons.jsonrpc.client.introspector;

import java.util.Map;

/**
 * Parameter type mapper.
 *
 * @param  Mapping parameter type.
 */
@FunctionalInterface
public interface ParameterMapper
{
    /**
     * Populates call parameters with given value.
     *
     * @param name Parameter name.
     * @param value Parameter value passed to the call.
     * @param params Current state of RPC call parameters.
     */
    void putParam(String name, Type value, Map params);
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy