package nomadgui.Drive;

import distinct.rpc.*;

/**
 * This class was automatically generated by Jrpcgen from the RPC/XDR file "stop.x".<br>
 * stop: was struct
 */

public class stop implements XDRType {
  public char stopFlag;

/**
 * Default constructor for objects of class stop.
 */

public stop()
{}

/**
 * Creates an object of class stop.
 * @param     arg_stopFlag The value of the stopFlag component.
 */

public stop(char arg_stopFlag)
{
  stopFlag = arg_stopFlag;
}

/**
 * Encodes an object of class stop in compliance to RFC 1832 (XDR).
 * @param     xdrs The XDR output stream.
 */

public void xdr_encode(XDRStream xdrs)
{
  xdrs.xdr_encode_char(stopFlag);
}

/**
 * Decodes an object of class stop in compliance to RFC 1832 (XDR).
 * @param     xdrs The XDR input stream.
 * @exception RPCError When the calls fails for any reason.
 */

public void xdr_decode(XDRStream xdrs) throws RPCError
{
  stopFlag = xdrs.xdr_decode_char();
}
}
