Inheritance: BaseCommand
 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;
 }
Esempio n. 2
0
 public virtual Response processResponse(Response response)
 {
     return null;
 }