GigaSpaces XAP 8.0 API

com.sun.jini.discovery
Interface DiscoveryFormatProvider

All Known Subinterfaces:
DelayedMulticastAnnouncementDecoder, DelayedMulticastRequestDecoder, MulticastAnnouncementDecoder, MulticastAnnouncementEncoder, MulticastRequestDecoder, MulticastRequestEncoder, UnicastDiscoveryClient, UnicastDiscoveryServer
All Known Implementing Classes:
BaseProvider, Client, Server, X500Client, X500Server

public interface DiscoveryFormatProvider

Interface implemented by all discovery format provider classes, which is used by the Discovery class to identify format providers available via resource, as described in the documentation for the Discovery.getProtocol2(ClassLoader) method. Format provider classes should not implement this interface directly, but should instead implement at least one of the format provider sub-interfaces extending this interface--MulticastRequestEncoder, MulticastRequestDecoder, MulticastAnnouncementEncoder, MulticastAnnouncementDecoder, UnicastDiscoveryClient and UnicastDiscoveryServer--which declare methods for the various provider operations, such as encoding or decoding discovery data.

Since:
2.0
Author:
Sun Microsystems, Inc.

Method Summary
 String getFormatName()
          Returns the name of the format implemented by this provider.
 

Method Detail

getFormatName

String getFormatName()
Returns the name of the format implemented by this provider.

Returns:
the name of the format implemented by this provider

GigaSpaces XAP 8.0 API

Copyright © GigaSpaces.