1 | <?php |
||
8 | class UnicastRouter implements UnicastRouterInterface |
||
9 | { |
||
10 | /** |
||
11 | * @var string |
||
12 | */ |
||
13 | private $localAddress; |
||
14 | |||
15 | /** |
||
16 | * @var UnicastRoutingTable |
||
17 | */ |
||
18 | private $unicastRoutingTable; |
||
19 | |||
20 | /** |
||
21 | * @var TransportInfrastructure |
||
22 | */ |
||
23 | private $transportInfrastructure; |
||
24 | |||
25 | /** |
||
26 | * @param string $localAddress |
||
27 | * @param UnicastRoutingTable $unicastRoutingTable |
||
28 | * @param TransportInfrastructure $transportInfrastructure |
||
29 | */ |
||
30 | 5 | public function __construct( |
|
39 | |||
40 | /** |
||
41 | * @param SendOptions $options |
||
42 | * @param string $messageClass |
||
43 | * |
||
44 | * @return AddressTagInterface[] |
||
45 | */ |
||
46 | 4 | public function route(SendOptions $options, $messageClass) |
|
69 | } |
||
70 |