Toggle navigation
Hot Examples
RU
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Найти
Главная
Kraken
Channel
ChannelInterface
receive
Kraken\Channel\ChannelInterface::receive PHP Метод
Документация по интерфейсу ChannelInterface
Показать файл
Открыть проект
receive()
публичный
Метод
This method uses Channel input router to validate the message and then process or do something else with it depending on router rules.
public
receive
(
string
$sender
,
Kraken\Channel\Protocol\ProtocolInterface
$protocol
)
$sender
string
$protocol
Kraken\Channel\Protocol\ProtocolInterface
public function receive($sender, ProtocolInterface $protocol);
ChannelInterface
createProtocol
filterConnected
getConnected
getInput
getModel
getName
getOutput
getRouter
isConnected
isStarted
isStopped
onConnect
onDisconnect
onInput
onOutput
onStart
onStop
pull
push
pushAsync
pushRequest
receive
send
sendAsync
sendRequest
start
stop