Example #1
0
 public void xdrDecode(XdrDecodingStream xdr) {
     logr_status = xdr.xdrDecodeInt();
     switch ( logr_status ) {
     case nfsstat4.NFS4_OK:
         logr_resok4 = new LAYOUTGET4resok(xdr);
         break;
     case nfsstat4.NFS4ERR_LAYOUTTRYLATER:
         logr_will_signal_layout_avail = xdr.xdrDecodeBoolean();
         break;
     default:
         break;
     }
 }
Example #2
0
        public void xdrDecode(XdrDecodingStream xdr)
        {
            logr_status = xdr.xdrDecodeInt();
            switch (logr_status)
            {
                case nfsstat4.NFS4_OK:
                    logr_resok4 = new LAYOUTGET4resok(xdr);
                    break;

                case nfsstat4.NFS4ERR_LAYOUTTRYLATER:
                    logr_will_signal_layout_avail = xdr.xdrDecodeBoolean();
                    break;

                default:
                    break;
            }
        }