프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$closed | boolean | Flag to indicate if this listener is closed. | |
$loop | React\EventLoop\LoopInterface | Event loop. | |
$queue | AMQPQueue | AMQP message queue to read messages from. |
메소드 | 설명 | |
---|---|---|
__construct ( AMQPQueue $queue, React\EventLoop\LoopInterface $loop, JMS\Serializer\Serializer $serializer ) | ||
close ( ) | ||
listen ( ) | ||
stop ( ) |
메소드 | 설명 | |
---|---|---|
handle ( stdClass $event ) : void | The action to perform | |
listensTo ( string $typeName ) : boolean | This method will be responsible to decide whether this listener listens to an specific event type or not, given an event type name |
public __construct ( AMQPQueue $queue, React\EventLoop\LoopInterface $loop, JMS\Serializer\Serializer $serializer ) | ||
$queue | AMQPQueue | |
$loop | React\EventLoop\LoopInterface | |
$serializer | JMS\Serializer\Serializer |
protected LoopInterface,React\EventLoop $loop | ||
리턴 | React\EventLoop\LoopInterface |