public class AddressManager extends Object
| Modifier and Type | Class and Description |
|---|---|
protected static class |
AddressManager.PrimaryGlobalTransportHolder |
| Modifier and Type | Field and Description |
|---|---|
static String |
multicastAddressCalculatorParticipantId |
| Constructor and Description |
|---|
AddressManager(RoutingTable routingTable,
AddressManager.PrimaryGlobalTransportHolder primaryGlobalTransport,
Set<MulticastAddressCalculator> multicastAddressCalculators,
MulticastReceiverRegistry multicastReceiverRegistry) |
| Modifier and Type | Method and Description |
|---|---|
Optional<Address> |
getAddressForDelayableImmutableMessage(DelayableImmutableMessage message)
Get the address to which the passed in message should be sent to.
|
Set<String> |
getParticipantIdsForImmutableMessage(ImmutableMessage message)
Get the participantIds to which the passed in message should be sent to.
|
public static final String multicastAddressCalculatorParticipantId
@Inject public AddressManager(RoutingTable routingTable, AddressManager.PrimaryGlobalTransportHolder primaryGlobalTransport, Set<MulticastAddressCalculator> multicastAddressCalculators, MulticastReceiverRegistry multicastReceiverRegistry)
public Set<String> getParticipantIdsForImmutableMessage(ImmutableMessage message)
message - the message for which we want to find the participantIds to send it to.public Optional<Address> getAddressForDelayableImmutableMessage(DelayableImmutableMessage message)
RoutingTable, or a
multicast address calculated from the header content of the message.message - the message for which we want to find an address to send it to.Copyright © 2021. All rights reserved.