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

org.jetlinks.rule.engine.api.rpc.DefaultRpcDefinition Maven / Gradle / Ivy

There is a newer version: 1.2.2
Show newest version
package org.jetlinks.rule.engine.api.rpc;


import lombok.AllArgsConstructor;
import org.jetlinks.rule.engine.api.codec.Codec;

@AllArgsConstructor
public class DefaultRpcDefinition implements RpcDefinition {

    private final String address;

    private final Codec requestCodec;
    private final Codec responseCodec;

    @Override
    public String getAddress() {
        return address;
    }

    @Override
    public Codec requestCodec() {
        return requestCodec;
    }

    @Override
    public Codec responseCodec() {
        return responseCodec;
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy