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

info.ganglia.gmetric4j.xdr.v31x.Ganglia_25metric Maven / Gradle / Ivy

There is a newer version: 1.0.10
Show newest version
/*
 * Automatically generated by jrpcgen 1.0.5 on 10/23/08 8:11 PM
 * jrpcgen is part of the "Remote Tea" ONC/RPC package for Java
 * See http://remotetea.sourceforge.net for details
 */
package info.ganglia.gmetric4j.xdr.v31x;
import org.acplt.oncrpc.*;
import java.io.IOException;

public class Ganglia_25metric implements XdrAble {
    public int key;
    public String name;
    public int tmax;
    public int type;
    public String units;
    public String slope;
    public String fmt;
    public int msg_size;
    public String desc;
    public int metadata;

    public Ganglia_25metric() {
    }

    public Ganglia_25metric(XdrDecodingStream xdr)
           throws OncRpcException, IOException {
        xdrDecode(xdr);
    }

    public void xdrEncode(XdrEncodingStream xdr)
           throws OncRpcException, IOException {
        xdr.xdrEncodeInt(key);
        xdr.xdrEncodeString(name);
        xdr.xdrEncodeInt(tmax);
        xdr.xdrEncodeInt(type);
        xdr.xdrEncodeString(units);
        xdr.xdrEncodeString(slope);
        xdr.xdrEncodeString(fmt);
        xdr.xdrEncodeInt(msg_size);
        xdr.xdrEncodeString(desc);
        xdr.xdrEncodeInt(metadata);
    }

    public void xdrDecode(XdrDecodingStream xdr)
           throws OncRpcException, IOException {
        key = xdr.xdrDecodeInt();
        name = xdr.xdrDecodeString();
        tmax = xdr.xdrDecodeInt();
        type = xdr.xdrDecodeInt();
        units = xdr.xdrDecodeString();
        slope = xdr.xdrDecodeString();
        fmt = xdr.xdrDecodeString();
        msg_size = xdr.xdrDecodeInt();
        desc = xdr.xdrDecodeString();
        metadata = xdr.xdrDecodeInt();
    }

}
// End of Ganglia_25metric.java




© 2015 - 2025 Weber Informatics LLC | Privacy Policy