Chmpx Class
Chmpx class provides methods to operation for CHMPX.
Class overview
Chmpx {
public function __construct()
public function __destruct()
public function create(string $filepath, bool $is_on_server, bool $is_auto_rejoin = false): bool
public function createServer(string $filepath, bool $is_auto_rejoin = false): bool
public function createSlave(string $filepath, bool $is_auto_rejoin = false): bool
public function destroy(): bool
public function isRunning(): bool
public function getChmpxSlave(bool $no_giveup_rejoin = false): ChmpxSlave|false {}
public function getChmpxServer(): ChmpxServer|false {}
}
Method list
- Chmpx::__construct - Creates a empty Chmpx instance
- Chmpx::__destruct - Destroys a Chmpx instance
- Chmpx::create - Creates a ChmpxServer instance
- Chmpx::createServer - Creates a ChmpxServer instance
- Chmpx::createSlave - Creates a ChmpxSlave instance
- Chmpx::destroy - Destroys a Chmpx instance
- Chmpx::isRunning - Checks if a chmpx process exists
- Chmpx::getChmpxSlave - Retrieves the ChmpxSlave instance
- Chmpx::getChmpxServer - Retrieves the ChmpxServer instance