Name
PipeAdvertisement
Synopsis
Pipe advertisements announce
the presence of a pipe. The pipe advertisement for an input pipe is
created from the AdvertisementFactory class; you
must populate each of its fields. The pipe advertisement for an
output pipe is created automatically by the pipe service when the
pipe is resolved. The advertisement has the following fields:
-
ID The unique ID of the pipe
-
Type The type of the pipe (
UnicastType,UnicastSecureType, orPropagateType)-
Name The symbolic name of the pipe
public abstract class PipeAdvertisement extends net.jxta.document.Advertisement implements Cloneable { // Public Constructors public PipeAdvertisement(); // Public Constants public static final String IdTag; // ="Id” public static final String NameTag; // ="Name” public static final String TypeTag; // ="Type” // Public Class Methods public static String getAdvertisementType(); // Property Accessor Methods (by property name) public net.jxta.id.ID getID(); // Overrides:Advertisement public String getName(); public void setName(String n); public net.jxta.id.ID getPipeID(); public void setPipeID(net.jxta.id.ID pipeId); public String getType(); public void setType(String type); // Public Methods Overriding Advertisement public Object clone(); }
Passed To
net.jxta.pipe.PipeService.{createInputPipe(),
createOutputPipe()},
ModuleSpecAdvertisement.setPipeAdvertisement()
Returned By
ModuleSpecAdvertisement.getPipeAdvertisement()
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access