Beispiel #1
0
 public void xdrDecode(XdrDecodingStream xdr) {
     status = xdr.xdrDecodeInt();
     switch ( status ) {
     case nfsstat4.NFS4_OK:
         resok4 = new SETCLIENTID4resok(xdr);
         break;
     case nfsstat4.NFS4ERR_CLID_INUSE:
         client_using = new clientaddr4(xdr);
         break;
     default:
         break;
     }
 }
Beispiel #2
0
        public void xdrDecode(XdrDecodingStream xdr)
        {
            status = xdr.xdrDecodeInt();
            switch (status)
            {
            case nfsstat4.NFS4_OK:
                resok4 = new SETCLIENTID4resok(xdr);
                break;

            case nfsstat4.NFS4ERR_CLID_INUSE:
                client_using = new clientaddr4(xdr);
                break;

            default:
                break;
            }
        }