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

org.apache.ratis.thirdparty.info.ganglia.gmetric4j.xdr.v31x.Ganglia_gmetric_ushort Maven / Gradle / Ivy

There is a newer version: 1.0.6
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 org.apache.ratis.thirdparty.info.ganglia.gmetric4j.xdr.v31x;
import org.acplt.oncrpc.*;
import java.io.IOException;

public class Ganglia_gmetric_ushort implements XdrAble {
    public Ganglia_metric_id metric_id;
    public String fmt;
    public short us;

    public Ganglia_gmetric_ushort() {
    }

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

    public void xdrEncode(XdrEncodingStream xdr)
           throws OncRpcException, IOException {
        metric_id.xdrEncode(xdr);
        xdr.xdrEncodeString(fmt);
        xdr.xdrEncodeShort(us);
    }

    public void xdrDecode(XdrDecodingStream xdr)
           throws OncRpcException, IOException {
        metric_id = new Ganglia_metric_id(xdr);
        fmt = xdr.xdrDecodeString();
        us = xdr.xdrDecodeShort();
    }

}
// End of Ganglia_gmetric_ushort.java




© 2015 - 2024 Weber Informatics LLC | Privacy Policy