Example #1
0
  public void xdrDecode(XdrDecodingStream xdr)
 {
      mode = xdr.xdrDecodeInt();
      switch ( mode ) {
      case createmode4.UNCHECKED4:
      case createmode4.GUARDED4:
          createattrs = new fattr4(xdr);
          break;
      case createmode4.EXCLUSIVE4:
          createverf = new verifier4(xdr);
          break;
      case createmode4.EXCLUSIVE4_1:
          ch_createboth = new creatverfattr(xdr);
          break;
      }
  }
Example #2
0
        public void xdrDecode(XdrDecodingStream xdr)
        {
            mode = xdr.xdrDecodeInt();
            switch (mode)
            {
            case createmode4.UNCHECKED4:
            case createmode4.GUARDED4:
                createattrs = new fattr4(xdr);
                break;

            case createmode4.EXCLUSIVE4:
                createverf = new verifier4(xdr);
                break;

            case createmode4.EXCLUSIVE4_1:
                ch_createboth = new creatverfattr(xdr);
                break;
            }
        }