Kraken\Channel\ChannelInterface::receive PHP Méthode

receive() public méthode

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