Name
PeerGroupID
Synopsis
Each JXTA peergroup is assigned a unique
ID, which is represented by this class. Peergroup IDs are created by
the IDFactory
class.
Peergroups should ideally have the same
ID each time they are created. For this reason, peergroup IDs are
often hardcoded into applications that will create the peergroup. The
mkpgrp
command of the JXTA Shell can be used to
create a peergroup with an ID that can be used in this manner.
public abstract class PeerGroupID extends net.jxta.id.ID { // Public Constructors public PeerGroupID(); // Public Constants public static final PeerGroupID defaultNetPeerGroupID; public static final PeerGroupID worldPeerGroupID; }
Passed To
net.jxta.codat.Codat.Codat()
,
net.jxta.codat.Metadata.Metadata()
,
net.jxta.id.IDFactory.{newCodatID()
,
newPeerID()
, newPipeID()}
,
net.jxta.id.IDFactory.Instantiator.{newCodatID()
,
newPeerID()
, newPipeID()}
,
PeerGroup.newGroup()
,
net.jxta.protocol.PeerAdvertisement.setPeerGroupID()
,
net.jxta.protocol.PeerGroupAdvertisement.setPeerGroupID()
,
net.jxta.protocol.RdvAdvertisement.setGroupID()
Returned By
net.jxta.id.IDFactory.newPeerGroupID()
,
net.jxta.id.IDFactory.Instantiator.newPeerGroupID()
,
PeerGroup.getPeerGroupID()
,
net.jxta.protocol.PeerAdvertisement.getPeerGroupID()
,
net.jxta.protocol.PeerGroupAdvertisement.getPeerGroupID()
,
net.jxta.protocol.RdvAdvertisement.getGroupID()
Type Of
PeerGroupID.{defaultNetPeerGroupID
,
worldPeerGroupID}
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.