Toggle navigation
Hot Examples
DE
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Suchen
Home
Kraken
Channel
ChannelInterface
receive
Kraken\Channel\ChannelInterface::receive PHP Method
ChannelInterface Interface Documentation
Datei anzeigen
Open project: kraken-php/framework
receive()
public
method
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