Kraken\Channel\ChannelInterface::receive PHP Метод

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);