Example #1
0
        public static RpcDeniedReply Read(int xid, RpcReply.ReplyState replyState, XDR xdr
                                          )
        {
            Verifier verifier = Verifier.ReadFlavorAndVerifier(xdr);

            RpcDeniedReply.RejectState rejectState = RpcDeniedReply.RejectState.FromValue(xdr
                                                                                          .ReadInt());
            return(new RpcDeniedReply(xid, replyState, rejectState, verifier));
        }
Example #2
0
 public RpcDeniedReply(int xid, RpcReply.ReplyState replyState, RpcDeniedReply.RejectState
                       rejectState, Verifier verifier)
     : base(xid, replyState, verifier)
 {
     this.rejectState = rejectState;
 }