Interface DiscoveryFormatProvider

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

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

    Modifier and Type
    Method
    Description
    Returns the name of the format implemented by this provider.
  • Method Details

    • getFormatName

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