private void SendResponse(CraneChatRequest request, CraneChatResponse response) { response.RequestGuid = request.RequestGuid; string queueURL = CreateUserResponseQueue(request.UserName); m_sqsClient.SendMessage(new SendMessageRequest(). WithMessageBody(response.ToXML()). WithQueueUrl(queueURL)); }
public void SendOKResponse(CraneChatRequest request) { CraneChatResponse response = new CraneChatResponse(); SendResponse(request, response); }
void OnMessage(CraneChatResponse message) { if (null != CraneChatResponseEvent) { Console.WriteLine(String.Format("CraneChatResponse: ")); CraneChatResponseEvent(message); } }