|
Project JXTA | |||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Advertisement | |
---|---|
net.jxta.discovery | The JXTA Discovery Service provides an asynchronous mechanism for discovering Peer Advertisements, Group Advertisements, and other general JXTA Advertisements (pipes, services, etc.). |
net.jxta.document | JXTA Documents are containers for both structured and unstructured data. |
net.jxta.peergroup | Peer groups are formed as a collection of peers that have agreed upon a common set of services. |
net.jxta.platform | Classes for defining code modules within JXTA. |
net.jxta.protocol | Provides inteface objects for Advertisments and protocol messages for the JXTA Core and Standard Protocols. |
net.jxta.service | Every service is defined by a
ModuleImplAdvertisement . |
net.jxta.util | A collection of utility classes used by the JXTA implementation and/or useful to users of the JXTA API. |
Uses of Advertisement in net.jxta.discovery |
---|
Methods in net.jxta.discovery with parameters of type Advertisement | |
---|---|
void |
DiscoveryService.flushAdvertisement(Advertisement adv)
flush a stored Advertisement |
long |
DiscoveryService.getAdvExpirationTime(Advertisement adv)
Returns the maximum duration in milliseconds for which this document should be cached by those other than the publisher. |
long |
DiscoveryService.getAdvLifeTime(Advertisement adv)
Returns the maximum duration in milliseconds for which this document should be kept in local cache |
void |
DiscoveryService.publish(Advertisement advertisement)
Publish an advertisement with a default lifetime of
DEFAULT_LIFETIME and default expiration time for "others" of DEFAULT_EXPIRATION
Advertisement indexes are shared with a rendezvous peer upon connect,
and subsequent publications are shared at a an implementation specified interval |
void |
DiscoveryService.publish(Advertisement advertisement,
int type)
Deprecated. Advertisement type is no longer required to publish an advertisement |
void |
DiscoveryService.publish(Advertisement adv,
int type,
long lifetime,
long lifetimeForOthers)
Deprecated. Advertisement type is no longer required to publish an advertisement |
void |
DiscoveryService.publish(Advertisement adv,
long lifetime,
long lifetimeForOthers)
Publish an advertisement that will expire after a certain time. |
void |
DiscoveryService.remotePublish(Advertisement adv)
Remote Publish an advertisement will attempt to remote publish adv on all configured transports, the Advertisement will carry a lifetime of Expiration time, or lifetime whichever is smaller |
void |
DiscoveryService.remotePublish(Advertisement adv,
int type)
Deprecated. Advertisement type is no longer required to remote publish an advertisement |
void |
DiscoveryService.remotePublish(Advertisement adv,
int type,
long lifetime)
Deprecated. Advertisement type is no longer required to remote publish an advertisement |
void |
DiscoveryService.remotePublish(Advertisement adv,
long lifetime)
Remote Publish an advertisement will attempt to remote publish adv on all configured transports, the Advertisement will carry a a expiration of lifetime |
void |
DiscoveryService.remotePublish(String peerid,
Advertisement adv)
Remote Publish an advertisement will attempt to remote publish adv on all configured transports, the Advertisement will carry a lifetime of Expiration time, or lifetime whichever is smaller |
void |
DiscoveryService.remotePublish(String peerid,
Advertisement adv,
int type)
Deprecated. Advertisement type is no longer required to remote publish an advertisement |
void |
DiscoveryService.remotePublish(String peerid,
Advertisement adv,
int type,
long lifetime)
Deprecated. Advertisement type is no longer required to remote publish an advertisement |
void |
DiscoveryService.remotePublish(String peerid,
Advertisement adv,
long lifetime)
Remote Publish an advertisement will attempt to remote publish adv on all configured transports, the Advertisement will carry a a expiration of lifetime |
Uses of Advertisement in net.jxta.document |
---|
Subclasses of Advertisement in net.jxta.document | |
---|---|
class |
ExtendableAdvertisement
Extendable advertisements provide features for allowing inheritance of advertisement types. |
Methods in net.jxta.document that return Advertisement | |
---|---|
static Advertisement |
AdvertisementFactory.newAdvertisement(MimeMediaType mimetype,
InputStream stream)
Constructs an instance of Advertisement from the provided
InputStream . |
static Advertisement |
AdvertisementFactory.newAdvertisement(MimeMediaType mimetype,
Reader source)
Constructs an instance of Advertisement from the provided
Reader . |
static Advertisement |
AdvertisementFactory.newAdvertisement(String advertisementType)
Constructs an instance of Advertisement matching the type
specified by the advertisementType parameter. |
static Advertisement |
AdvertisementFactory.newAdvertisement(TextElement root)
Constructs an instance of Advertisement matching the type
specified by the root parameter. |
Advertisement |
AdvertisementFactory.Instantiator.newInstance()
Constructs an instance of Advertisement matching the type
specified by the advertisementType parameter. |
Advertisement |
AdvertisementFactory.Instantiator.newInstance(Element root)
Constructs an instance of Advertisement matching the type
specified by the advertisementType parameter. |
Uses of Advertisement in net.jxta.peergroup |
---|
Methods in net.jxta.peergroup that return Advertisement | |
---|---|
Advertisement |
LightWeightPeerGroup.getImplAdvertisement()
Returns the advertisment for this service. |
Methods in net.jxta.peergroup with parameters of type Advertisement | |
---|---|
void |
LightWeightPeerGroup.init(PeerGroup group,
ID assignedID,
Advertisement implAdv)
Initialize the module, passing it its peer group and advertisement. |
Module |
LightWeightPeerGroup.loadModule(ID assignedID,
Advertisement impl)
Load a module from a ModuleImplAdv. |
Module |
PeerGroup.loadModule(ID assignedID,
Advertisement impl)
Load a module from a ModuleImplAdv. |
PeerGroup |
LightWeightPeerGroup.newGroup(Advertisement pgAdv)
Instantiate a peer group from its given advertisement. |
PeerGroup |
PeerGroup.newGroup(Advertisement pgAdv)
Instantiate a peer group from its given advertisement. |
PeerGroup |
LightWeightPeerGroup.newGroup(PeerGroupID gid,
Advertisement impl,
String name,
String description)
Instantiates a new group from its elementary pieces and publishes the corresponding PeerGroupAdvertisement. |
PeerGroup |
PeerGroup.newGroup(PeerGroupID gid,
Advertisement impl,
String name,
String description)
Instantiates a new group from its elementary pieces and publishes the corresponding PeerGroupAdvertisement. |
Uses of Advertisement in net.jxta.platform |
---|
Methods in net.jxta.platform with parameters of type Advertisement | |
---|---|
void |
Module.init(PeerGroup group,
ID assignedID,
Advertisement implAdv)
Initialize the module, passing it its peer group and advertisement. |
Uses of Advertisement in net.jxta.protocol |
---|
Subclasses of Advertisement in net.jxta.protocol | |
---|---|
class |
AccessPointAdvertisement
A short representation of the physical endpoint addresses available for a specific peer. |
class |
ConfigParams
A container for configuration parameters. |
class |
ModuleClassAdvertisement
A ModuleClassAdvertisement describes a module class. |
class |
ModuleImplAdvertisement
A ModuleImplAdvertisement represents one of any number of published implementations of a given specification. |
class |
ModuleSpecAdvertisement
A ModuleSpecAdvertisement describes a module specification. |
class |
PeerAdvertisement
This type of advertisement is generated when instantiating a group on a peer and contains all the parameters that services need to publish. |
class |
PeerGroupAdvertisement
Describes a peer group and references additional information required for instantiating it. |
class |
PipeAdvertisement
This class defines the PipeServiceImpl Advertisement. |
class |
RdvAdvertisement
This class defines a Rendezvous Advertisement |
class |
RouteAdvertisement
This type of advertisement is used to represent a route to a destination peer in the JXTA virtual network. |
class |
SignedAdvertisement
A container for signed Advertisements |
class |
TransportAdvertisement
This abstract class defines a Transport advertisement. |
Fields in net.jxta.protocol declared as Advertisement | |
---|---|
protected Advertisement |
SignedAdvertisement.adv
|
Methods in net.jxta.protocol that return Advertisement | |
---|---|
Advertisement |
SignedAdvertisement.getAdvertisement()
Gets the Advertisement. |
Methods in net.jxta.protocol with parameters of type Advertisement | |
---|---|
void |
SignedAdvertisement.setAdvertisement(Advertisement adv)
Sets the Advertisement to be signed. |
Uses of Advertisement in net.jxta.service |
---|
Methods in net.jxta.service that return Advertisement | |
---|---|
Advertisement |
Service.getImplAdvertisement()
Returns the advertisment for this service. |
Uses of Advertisement in net.jxta.util |
---|
Methods in net.jxta.util that return Advertisement | |
---|---|
static Advertisement |
AdvertisementUtilities.bytesToAdvertisement(byte[] buf)
Deprecated. This method should not be used because it interprets the input using the local default encoding which is not precidcatable and may (will) differ from JVM to JVM. |
static Advertisement |
DiscoveryUtilities.getLocalAdvertisement(PeerGroup peerGroup,
String name,
String value)
Deprecated. Just use discovery directly. This method doesn't seem to do anything useful. |
static Advertisement |
AdvertisementUtilities.newAdvertisementFromXml(byte[] xmlTextAsBytes)
Deprecated. This method should not be used because it produces a result who's encoding is not predictable and may (will) differ from JVM to JVM. |
static Advertisement |
AdvertisementUtilities.newAdvertisementFromXml(String xmlText)
Deprecated. This method should not be used because it interprets the input using the local default encoding which is not precidcatable and may (will) differ from JVM to JVM. |
static Advertisement |
AdvertisementUtilities.readAdvertisementFromFile(File file)
Deprecated. Read a JXTA Advertisement from a File |
static Advertisement |
AdvertisementUtilities.readAdvertisementFromFile(String fileName)
Deprecated. Read a JXTA Advertisement from a File |
Methods in net.jxta.util with parameters of type Advertisement | |
---|---|
static byte[] |
AdvertisementUtilities.advertisementToBytes(Advertisement advertisement)
Deprecated. This method should not be used because it produces a result who's encoding is not predictable and may (will) differ from JVM to JVM. |
static String |
AdvertisementUtilities.advertisementToPlainText(Advertisement advertisement)
Deprecated. Save a JXTA Advertisement to a Plain Text String |
static String |
AdvertisementUtilities.advertisementToText(Advertisement advertisement,
String mimeType)
Deprecated. Save a JXTA Advertisement to a String |
static String |
AdvertisementUtilities.advertisementToXmlText(Advertisement advertisement)
Deprecated. Equivalent to Advertisement.toString() |
static void |
AdvertisementUtilities.saveAdvertisementToFile(Advertisement adv,
File file)
Deprecated. Save a JXTA Advertisement as an XML Document to a File |
static void |
AdvertisementUtilities.saveAdvertisementToFile(Advertisement adv,
String fileName)
Deprecated. Save a JXTA Advertisement as an XML Document to a File |
|
JXTA J2SE | |||||||||
PREV NEXT | FRAMES NO FRAMES |