PHP 클래스 Kraken\Runtime\Container\Manager\ProcessManagerRemote

상속: implements Kraken\Runtime\Container\ProcessManagerInterface
파일 보기 프로젝트 열기: kraken-php/framework

보호된 프로퍼티들

프로퍼티 타입 설명
$channel Kraken\Channel\ChannelInterface
$receiver string
$runtime string

공개 메소드들

메소드 설명
__construct ( Kraken\Runtime\RuntimeContainerInterface $runtime, Kraken\Channel\ChannelInterface $channel, string | null $receiver = null )
__destruct ( )
createProcess ( $alias, $name, $flags = Runtime::CREATE_DEFAULT, $params = [] )
createProcesses ( $definitions, $flags = Runtime::CREATE_DEFAULT, $params = [] )
destroyProcess ( $alias, $flags = Runtime::DESTROY_FORCE_SOFT, $params = [] )
destroyProcesses ( $aliases, $flags = Runtime::DESTROY_FORCE_SOFT, $params = [] )
existsProcess ( $alias )
flushProcesses ( $flags = Runtime::DESTROY_KEEP )
getProcesses ( )
sendCommand ( $alias, $command, $params = [] )
sendMessage ( $alias, $message, $flags = Channel::MODE_DEFAULT )
sendRequest ( $alias, $message, $params = [] )
startProcess ( $alias, $params = [] )
startProcesses ( $aliases, $params = [] )
stopProcess ( $alias, $params = [] )
stopProcesses ( $aliases, $params = [] )

보호된 메소드들

메소드 설명
createRequest ( Kraken\Channel\ChannelInterface $channel, string $receiver, string $command ) : Request Create Request.

메소드 상세

__construct() 공개 메소드

public __construct ( Kraken\Runtime\RuntimeContainerInterface $runtime, Kraken\Channel\ChannelInterface $channel, string | null $receiver = null )
$runtime Kraken\Runtime\RuntimeContainerInterface
$channel Kraken\Channel\ChannelInterface
$receiver string | null

__destruct() 공개 메소드

public __destruct ( )

createProcess() 공개 메소드

public createProcess ( $alias, $name, $flags = Runtime::CREATE_DEFAULT, $params = [] )

createProcesses() 공개 메소드

public createProcesses ( $definitions, $flags = Runtime::CREATE_DEFAULT, $params = [] )

createRequest() 보호된 메소드

Create Request.
protected createRequest ( Kraken\Channel\ChannelInterface $channel, string $receiver, string $command ) : Request
$channel Kraken\Channel\ChannelInterface
$receiver string
$command string
리턴 Kraken\Channel\Extra\Request

destroyProcess() 공개 메소드

public destroyProcess ( $alias, $flags = Runtime::DESTROY_FORCE_SOFT, $params = [] )

destroyProcesses() 공개 메소드

public destroyProcesses ( $aliases, $flags = Runtime::DESTROY_FORCE_SOFT, $params = [] )

existsProcess() 공개 메소드

public existsProcess ( $alias )

flushProcesses() 공개 메소드

public flushProcesses ( $flags = Runtime::DESTROY_KEEP )

getProcesses() 공개 메소드

public getProcesses ( )

sendCommand() 공개 메소드

public sendCommand ( $alias, $command, $params = [] )

sendMessage() 공개 메소드

public sendMessage ( $alias, $message, $flags = Channel::MODE_DEFAULT )

sendRequest() 공개 메소드

public sendRequest ( $alias, $message, $params = [] )

startProcess() 공개 메소드

public startProcess ( $alias, $params = [] )

startProcesses() 공개 메소드

public startProcesses ( $aliases, $params = [] )

stopProcess() 공개 메소드

public stopProcess ( $alias, $params = [] )

stopProcesses() 공개 메소드

public stopProcesses ( $aliases, $params = [] )

프로퍼티 상세

$channel 보호되어 있는 프로퍼티

protected ChannelInterface,Kraken\Channel $channel
리턴 Kraken\Channel\ChannelInterface

$receiver 보호되어 있는 프로퍼티

protected string $receiver
리턴 string

$runtime 보호되어 있는 프로퍼티

protected string $runtime
리턴 string