Ganglia_gmetric_string.java :  » JVM » jmxetric » ganglia » xdr » v31x » Java Open Source

Java Open Source » JVM » jmxetric 
jmxetric » ganglia » xdr » v31x » Ganglia_gmetric_string.java
/*
 * 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 ganglia.xdr.v31x;
import org.acplt.oncrpc.*;
import java.io.IOException;

public class Ganglia_gmetric_string implements XdrAble {
    public Ganglia_metric_id metric_id;
    public String fmt;
    public String str;

    public Ganglia_gmetric_string() {
    }

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

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

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

}
// End of Ganglia_gmetric_string.java
java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.