Skip navigation links
GigaSpaces XAP 10.2.1 API

Package com.sun.jini.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 com.sun.jini.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(TM) Discovery and Join Specification"
Skip navigation links
GigaSpaces XAP 10.2.1 API

Copyright © GigaSpaces.