org.apache.ratis.thirdparty.info.ganglia.gmetric4j.xdr.v31x.Ganglia_gmetric_ushort Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ratis-thirdparty-misc
Show all versions of ratis-thirdparty-misc
Miscellaneous thirdparty dependencies for Apache Ratis
/*
* 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