/* * Automatically generated by jrpcgen 1.0.7 on 4/18/2014 * jrpcgen is part of the "Remote Tea.Net" ONC/RPC package for C# * See http://remotetea.sourceforge.net for details */ using org.acplt.oncrpc; namespace SPIAgent { /// /// Raspberry Pi LPC1114 I/O Processor Expansion Board SPI Agent Firmware response message object /// public class SPIAGENT_RESPONSE_MSG_t : XdrAble { /// /// Command code from SPI Agent Firmware (echoed from command message) /// public int command; /// /// Pin number from SPI Agent Firmware (echoed from command message) /// public int pin; /// /// Data item from SPI Agent Firmware /// public int data; /// /// Error code (errno value) from SPI Agent Firmware /// public int error; /// /// Default parameterless constructor /// public SPIAGENT_RESPONSE_MSG_t() { } /// /// Constructor accepting XDR decoding object (Used internally) /// /// public SPIAGENT_RESPONSE_MSG_t(XdrDecodingStream xdr) { xdrDecode(xdr); } /// /// XDR encoding method (Used internally) /// /// public void xdrEncode(XdrEncodingStream xdr) { xdr.xdrEncodeInt(command); xdr.xdrEncodeInt(pin); xdr.xdrEncodeInt(data); xdr.xdrEncodeInt(error); } /// /// XDR decoding method (Used internally) /// /// public void xdrDecode(XdrDecodingStream xdr) { command = xdr.xdrDecodeInt(); pin = xdr.xdrDecodeInt(); data = xdr.xdrDecodeInt(); error = xdr.xdrDecodeInt(); } } } // End of SPIAGENT_RESPONSE_MSG_t.cs