|
Project JXTA | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.jxta.document.Advertisement
net.jxta.document.ExtendableAdvertisement
net.jxta.protocol.RdvAdvertisement
public abstract class RdvAdvertisement
This class defines a Rendezvous Advertisement
Field Summary | |
---|---|
static String |
GroupIDTag
|
static String |
NameTag
|
static String |
PeerIDTag
|
static String |
RouteTag
|
static String |
ServiceNameTag
|
Constructor Summary | |
---|---|
RdvAdvertisement()
|
Method Summary | |
---|---|
static String |
getAdvertisementType()
Returns the identifying type of this Advertisement. |
String |
getBaseAdvType()
Returns the base type of this advertisement hierarchy. |
PeerGroupID |
getGroupID()
get the group id |
ID |
getID()
Returns a unique ID suitable for indexing of this Advertisement. |
String |
getName()
get the symbolic name associated with the rdv |
PeerID |
getPeerID()
get the rdv peer id |
RouteAdvertisement |
getRouteAdv()
Get the Route Adv. |
String |
getServiceName()
get the rdv service name |
void |
setGroupID(PeerGroupID id)
set the group Id |
void |
setName(String n)
set the symbolic name associated with the rdv |
void |
setPeerID(PeerID id)
set the peer Id |
void |
setRouteAdv(RouteAdvertisement route)
set the RouteAdvertisement |
void |
setServiceName(String n)
set the service name |
Methods inherited from class net.jxta.document.ExtendableAdvertisement |
---|
getDocument, handleElement |
Methods inherited from class net.jxta.document.Advertisement |
---|
clone, getAdvType, getIndexFields, toString |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final String GroupIDTag
public static final String PeerIDTag
public static final String ServiceNameTag
public static final String NameTag
public static final String RouteTag
Constructor Detail |
---|
public RdvAdvertisement()
Method Detail |
---|
public static String getAdvertisementType()
public final String getBaseAdvType()
final
.
getBaseAdvType
in class ExtendableAdvertisement
public PeerGroupID getGroupID()
public void setGroupID(PeerGroupID id)
public PeerID getPeerID()
public void setPeerID(PeerID id)
public String getServiceName()
public void setServiceName(String n)
public String getName()
public void setName(String n)
n
- the name this rdv adv should have.public RouteAdvertisement getRouteAdv()
null
if nopublic void setRouteAdv(RouteAdvertisement route)
route
- RouteAdvertisementpublic ID getID()
java.lang.IllegalStateException
should be
thrown.
getID
in class Advertisement
|
JXTA J2SE | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |