示例#1
0
 public void xdrDecode(XdrDecodingStream xdr) throws OncRpcException, IOException {
   ffl_stripe_unit = new length4(xdr);
   {
     int $size = xdr.xdrDecodeInt();
     ffl_mirrors = new ff_mirror4[$size];
     for (int $idx = 0; $idx < $size; ++$idx) {
       ffl_mirrors[$idx] = new ff_mirror4(xdr);
     }
   }
   ffl_flags4 = new uint32_t(xdr);
   ffl_stats_collect_hint = new uint32_t(xdr);
 }
 public void xdrDecode(XdrDecodingStream xdr) throws OncRpcException, IOException {
   gdir_status = xdr.xdrDecodeInt();
   switch (gdir_status) {
     case nfsstat.NFS_OK:
       gdir_resok4 = new GETDEVICEINFO4resok(xdr);
       break;
     case nfsstat.NFSERR_TOOSMALL:
       gdir_mincount = new count4(xdr);
       break;
     default:
       break;
   }
 }
 public void xdrDecode(XdrDecodingStream xdr) throws OncRpcException, IOException {
   spa_how = xdr.xdrDecodeInt();
   switch (spa_how) {
     case state_protect_how4.SP4_NONE:
       break;
     case state_protect_how4.SP4_MACH_CRED:
       spa_mach_ops = new state_protect_ops4(xdr);
       break;
     case state_protect_how4.SP4_SSV:
       spa_ssv_parms = new ssv_sp_parms4(xdr);
       break;
   }
 }
示例#4
0
 public void xdrDecode(XdrDecodingStream xdr) throws OncRpcException, IOException {
   value = xdr.xdrDecodeInt();
 }