예제 #1
0
 public void xdrDecode(XdrDecodingStream xdr)
 {
     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;
     }
 }
예제 #2
0
        public void xdrDecode(XdrDecodingStream xdr)
        {
            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;
            }
        }