1 | <?php |
||
20 | class RabbitMqTransportInfrastructure extends TransportInfrastructure |
||
21 | { |
||
22 | /** |
||
23 | * @var Settings |
||
24 | */ |
||
25 | private $settings; |
||
26 | |||
27 | /** |
||
28 | * @var RoutingTopology |
||
29 | */ |
||
30 | private $routingTopology; |
||
31 | |||
32 | /** |
||
33 | * @var BrokerModel |
||
34 | */ |
||
35 | private $brokerModel; |
||
36 | |||
37 | /** |
||
38 | * @var bool |
||
39 | */ |
||
40 | private $durableMessagesEnabled; |
||
41 | |||
42 | /** |
||
43 | * @param Settings $settings |
||
44 | * @param RoutingTopology $routingTopology |
||
45 | * @param BrokerModel $brokerModel |
||
46 | * @param bool $durableMessagesEnabled |
||
47 | */ |
||
48 | 8 | public function __construct( |
|
59 | |||
60 | /** |
||
61 | * @return TransportSendInfrastructure |
||
62 | */ |
||
63 | 1 | public function configureSendInfrastructure() |
|
73 | |||
74 | /** |
||
75 | * @return TransportReceiveInfrastructure |
||
76 | */ |
||
77 | 1 | public function configureReceiveInfrastructure() |
|
95 | |||
96 | /** |
||
97 | * @return TransportSubscriptionInfrastructure |
||
98 | */ |
||
99 | 1 | public function configureSubscriptionInfrastructure() |
|
111 | |||
112 | /** |
||
113 | * @param string $logicalAddress |
||
114 | * |
||
115 | * @return string |
||
116 | */ |
||
117 | 2 | public function toTransportAddress($logicalAddress) |
|
121 | |||
122 | /** |
||
123 | * @return string |
||
124 | */ |
||
125 | private function getLocalAddress() |
||
129 | } |
||
130 |