Inheritance: BaseCommand
コード例 #1
0
 public Response BuildResponse(Command command)
 {
     if( command.ResponseRequired ) 
     {
         // These Commands just require a response that matches their command IDs
         Response response = new Response();
         response.CorrelationId = command.CommandId;
         return response;
     }
     
     return null;
 }
コード例 #2
0
 public virtual Response processResponse(Response response)
 {
     return null;
 }