public function match($sender, ProtocolInterface $protocol)
    {
        $callback = $this->matcher;
        return $callback($sender, $protocol);
    }
public function match($sender, ProtocolInterface $protocol)
    {
        $callback = $this->matcher;
        return $callback($sender, $protocol);
    }
public function match ( $ sender , ProtocolInterface $ protocol ) { $ callback = $ this -> matcher ; return $ callback ( $ sender , $ protocol ) ; }
Match given message protocol.

@param string $sender
@param ProtocolInterface $protocol
@return bool
Match given message protocol .