Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.sun.jini.discovery
Interface DiscoveryFormatProvider

All Known Subinterfaces:
  MulticastAnnouncementDecoder, MulticastAnnouncementEncoder, MulticastRequestDecoder, MulticastRequestEncoder, UnicastDiscoveryClient, UnicastDiscoveryServer

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

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

Method Detail

### getFormatName

    public String getFormatName()

  Returns the name of the format implemented by this provider.

  Returns:
    the name of the format implemented by this provider

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2004 Sun Microsystems, Inc. All rights reserved