Name
ModuleSpecAdvertisement
Synopsis
This advertisement describes a module specification. Module specifications are used to describe services that are available within the JXTA peergroup; to create a JXTA service, publish a module class advertisement and a module specification advertisement that describe the service. These advertisements are created from the advertisement factory and contain the following properties:
-
ID
The module specification ID (with its embedded module class ID) of the specification
-
Name
The name of the module specification
-
Creator
The author of the module specification
-
URI
The location where the specification may be obtained
-
Version
The version of the specification
-
Description
The description of the specification
-
Param
The optional parameters of the specification
-
Pipe
The optional pipe on which the module accepts requests
-
ProxySpecID
The optional ID of the module specification that can be used as a proxy to this module; this allows peers to connect to the (presumably local) proxy that will route requests to the module
-
AuthSpecID
The optional ID of the module that will be used to authenticate this service
Module specification advertisements may also be found via the discovery service.
public abstract class ModuleSpecAdvertisement extends net.jxta.document.Advertisement implements Cloneable { // Public Constructors public ModuleSpecAdvertisement(); // Public Class Methods public static String getAdvertisementType(); // Property Accessor Methods (by property ...
Get JXTA in a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.