Esempio n. 1
0
            private void Handle(RpcAcceptedReply acceptedReply, XDR xdr)
            {
                RpcAcceptedReply.AcceptState acceptState = acceptedReply.GetAcceptState();
                System.Diagnostics.Debug.Assert((acceptState == RpcAcceptedReply.AcceptState.Success
                                                 ));
                bool answer = xdr.ReadBoolean();

                if (answer != true)
                {
                    Log.Warn("Portmap mapping registration failed, accept state:" + acceptState);
                }
                Log.Info("Portmap mapping registration succeeded");
            }