Package | Description |
---|---|
org.apache.river.discovery |
Provides a set of constraints, low-level utility classes, and provider
interfaces for participating in versions 1 and 2 of the multicast request,
multicast announcement, and unicast discovery protocols.
|
Modifier and Type | Method and Description |
---|---|
static Discovery |
Discovery.getProtocol1()
Returns an instance implementing protocol version 1.
|
static Discovery |
Discovery.getProtocol2(ClassLoader loader)
Returns an instance implementing protocol version 2 which uses providers
loaded from the given class loader, or the current context class loader
if the given loader is
null . |
static Discovery |
Discovery.getProtocol2(MulticastRequestEncoder[] mre,
MulticastRequestDecoder[] mrd,
MulticastAnnouncementEncoder[] mae,
MulticastAnnouncementDecoder[] mad,
UnicastDiscoveryClient[] udc,
UnicastDiscoveryServer[] uds)
Returns an instance implementing protocol version 2 which uses the given
providers.
|
static Discovery |
Discovery.getUnicastHttps(ClassLoader loader)
Returns an instance implementing the unicast https protocol which uses providers
loaded from the given class loader, or the context class loader
if the given loader is
null . |
Modifier and Type | Method and Description |
---|---|
protected abstract UnicastResponse |
MultiIPDiscovery.performDiscovery(Discovery disco,
DiscoveryConstraints dc,
Socket s) |
Copyright © 2016–2018 The Apache Software Foundation. All rights reserved.