public class UDPDiscoveryManager extends Object
Modifier and Type | Method and Description |
---|---|
static UDPDiscoveryManager |
getInstance()
Singleton
|
UDPDiscoveryService |
getService(String discoveryAddress,
int discoveryPort,
int servicePort,
ICompositeCacheManager cacheMgr)
Creates a service for the address and port if one doesn't exist already.
|
public static UDPDiscoveryManager getInstance()
public UDPDiscoveryService getService(String discoveryAddress, int discoveryPort, int servicePort, ICompositeCacheManager cacheMgr)
We need to key this using the listener port too. TODO think of making one discovery service work for multiple types of clients.
discoveryAddress
- discoveryPort
- servicePort
- cacheMgr
- Copyright © 2002–2018 The Apache Software Foundation. All rights reserved.