Apache.NMS.ActiveMQ.Transport.Mock.OpenWireResponseBuilder.BuildResponse C# (CSharp) Метод

BuildResponse() публичный Метод

public BuildResponse ( Command command ) : Response
command Command
Результат Apache.NMS.ActiveMQ.Commands.Response
        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;
        }