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.
|
Copyright 2007-2013, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.