Sha256: 6804460ddb5b11848dc5621b467c8e86dfcf13fac9ce01d506b5a23624b2d259

Contents?: true

Size: 1.87 KB

Versions: 14

Compression:

Stored size: 1.87 KB

Contents

/*
 *  Phusion Passenger - https://www.phusionpassenger.com/
 *  Copyright (c) 2014-2017 Phusion Holding B.V.
 *
 *  "Passenger", "Phusion Passenger" and "Union Station" are registered
 *  trademarks of Phusion Holding B.V.
 *
 *  Permission is hereby granted, free of charge, to any person obtaining a copy
 *  of this software and associated documentation files (the "Software"), to deal
 *  in the Software without restriction, including without limitation the rights
 *  to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
 *  copies of the Software, and to permit persons to whom the Software is
 *  furnished to do so, subject to the following conditions:
 *
 *  The above copyright notice and this permission notice shall be included in
 *  all copies or substantial portions of the Software.
 *
 *  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 *  IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 *  FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
 *  AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 *  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
 *  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
 *  THE SOFTWARE.
 */
#ifndef _PASSENGER_SPAWNING_KIT_RESULT_H_
#define _PASSENGER_SPAWNING_KIT_RESULT_H_

#include <FileDescriptor.h>
#include <jsoncpp/json.h>

namespace Passenger {
namespace SpawningKit {


/**
 * Represents the result of a spawning operation. It is a JSON document
 * containing information about the spawned process, such as its PID,
 * GUPID, etc. In addition, it contains two file descriptors.
 */
struct Result: public Json::Value {
	FileDescriptor adminSocket;
	FileDescriptor errorPipe;
};


} // namespace SpawningKit
} // namespace Passenger

#endif /* _PASSENGER_SPAWNING_KIT_RESULT_H_ */

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
passenger-5.2.3 src/agent/Core/SpawningKit/Result.h
passenger-5.2.2 src/agent/Core/SpawningKit/Result.h
passenger-5.2.1 src/agent/Core/SpawningKit/Result.h
passenger-5.2.0 src/agent/Core/SpawningKit/Result.h
passenger-5.1.12 src/agent/Core/SpawningKit/Result.h
passenger-5.1.11 src/agent/Core/SpawningKit/Result.h
passenger-5.1.10 src/agent/Core/SpawningKit/Result.h
passenger-5.1.9 src/agent/Core/SpawningKit/Result.h
passenger-5.1.8 src/agent/Core/SpawningKit/Result.h
passenger-5.1.7 src/agent/Core/SpawningKit/Result.h
passenger-5.1.6 src/agent/Core/SpawningKit/Result.h
passenger-5.1.5 src/agent/Core/SpawningKit/Result.h
passenger-5.1.4 src/agent/Core/SpawningKit/Result.h
passenger-5.1.3 src/agent/Core/SpawningKit/Result.h