HandleRequest() public method

Invokes the appropriate handler for a given request
public HandleRequest ( Message request, Message response, System.Web.SessionState.HttpSessionState session, HttpResponse httpresponse ) : void
request Message The ServiceRequest object corresponding to the incoming request
response Message The ServiceResponse object corresponding to the outgoing response
session System.Web.SessionState.HttpSessionState
httpresponse System.Web.HttpResponse
return void
コード例 #1
0
ファイル: Dispatcher.cs プロジェクト: kodewulf/entourage
        //Sends messages to Services -- called from the ServiceBroker
        public void Dispatch(List <Message> messageList, ServiceManager manager, HttpRequest httprequest, HttpResponse httpresponse, HttpSessionState session, ServiceBroker broker)
        {
            Logger.Instance.Debug("Dispatching " + messageList.Count + " message(s) for Session ID: " + session.SessionID);

            foreach (Message request in messageList)
            {
                Message response = new Message(session, broker);
                response.Direction = MessageDirection.OUTGOING;
                manager.HandleRequest(request, response, session, httpresponse);
            }
        }
コード例 #2
0
ファイル: Dispatcher.cs プロジェクト: appcelerator/entourage
        //Sends messages to Services -- called from the ServiceBroker
        public void Dispatch(List<Message> messageList, ServiceManager manager, HttpRequest httprequest, HttpResponse httpresponse, HttpSessionState session, ServiceBroker broker)
        {
            Logger.Instance.Debug("Dispatching " + messageList.Count + " message(s) for Session ID: " + session.SessionID);

            foreach (Message request in messageList)
            {
                Message response = new Message(session, broker);
                response.Direction = MessageDirection.OUTGOING;
                manager.HandleRequest(request, response, session, httpresponse);
            }
        }