Beispiel #1
0
        private string HandleRequest(string requestText)
        {
            RequestHandlerEventArgs e = new RequestHandlerEventArgs(requestText);

            if (OnRequest != null)
            {
                OnRequest(this, e);
            }

            return((e.ResponseError ? "ERROR:" : "OK:") + e.ResponseMessage);
        }
Beispiel #2
0
        private string HandleRequest(string requestText)
        {
            RequestHandlerEventArgs e = new RequestHandlerEventArgs(requestText);
            if (OnRequest != null) OnRequest(this, e);

            return (e.ResponseError ? "ERROR:" : "OK:") + e.ResponseMessage;
        }