This project has retired. For details please refer to its Attic page.
org.apache.river.discovery (Apache River v3.0.0 API Documentation)
Skip navigation links

Package 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.

See: Description

Package org.apache.river.discovery Description

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.

The DiscoveryProtocolVersion, MulticastMaxPacketSize, MulticastTimeToLive and UnicastSocketTimeout classes represent constraints which can be applied to multicast and unicast discovery. The DiscoveryConstraints class offers convenience methods for querying the values expressed by groups of these constraints. The Discovery class provides methods implementing various low-level discovery protocol operations, such as encoding and decoding multicast packet contents and unicast discovery data. These methods accept as arguments instances of the MulticastRequest, MulticastAnnouncement and UnicastResponse classes, which represent the values (independent of protocol details) to be transmitted by multicast requests, multicast announcements, and unicast discovery.

The Discovery class implements both versions 1 and 2 of the discovery protocols. For version 2 of the protocols, it accepts pluggable format providers, specified via resource using the DiscoveryFormatProvider interface, which implement the MulticastRequestEncoder, MulticastRequestDecoder, MulticastAnnouncementEncoder, MulticastAnnouncementDecoder, UnicastDiscoveryClient, and UnicastDiscoveryServer format provider sub-interfaces.

See Also:
"Jini Discovery and Join Specification"
Skip navigation links

Copyright 2007-2013, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.