public interface DiscoveryFormatProvider
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.Modifier and Type | Method and Description |
---|---|
String |
getFormatName()
Returns the name of the format implemented by this provider.
|
String getFormatName()
Copyright © 2016–2018 The Apache Software Foundation. All rights reserved.