예제 #1
0
 public void xdrDecode(XdrDecodingStream xdr) {
     gdir_status = xdr.xdrDecodeInt();
     switch ( gdir_status ) {
     case nfsstat4.NFS4_OK:
         gdir_resok4 = new GETDEVICEINFO4resok(xdr);
         break;
     case nfsstat4.NFS4ERR_TOOSMALL:
         gdir_mincount = new count4(xdr);
         break;
     default:
         break;
     }
 }
예제 #2
0
        public void xdrDecode(XdrDecodingStream xdr)
        {
            gdir_status = xdr.xdrDecodeInt();
            switch (gdir_status)
            {
                case nfsstat4.NFS4_OK:
                    gdir_resok4 = new GETDEVICEINFO4resok(xdr);
                    break;

                case nfsstat4.NFS4ERR_TOOSMALL:
                    gdir_mincount = new count4(xdr);
                    break;

                default:
                    break;
            }
        }