Ejemplo n.º 1
0
 /// <summary>
 ///     设置一个应答消息
 /// </summary>
 /// <param name="response">应答消息</param>
 /// <exception cref="System.ArgumentNullException">参数不能为空</exception>
 public override void SetResponse(KJFramework.Net.Transaction.Messages.BaseMessage response)
 {
     if (response == null)
     {
         throw new ArgumentNullException("response");
     }
     _response = response;
 }
Ejemplo n.º 2
0
 /// <summary>
 ///     发送一个响应消息
 /// </summary>
 /// <param name="message">响应消息</param>
 /// <exception cref="System.ArgumentNullException">参数不能为空</exception>
 public override void SendResponse(KJFramework.Net.Transaction.Messages.BaseMessage message)
 {
     if (message == null)
     {
         throw new ArgumentNullException("message");
     }
     _response = message;
 }