JXTA

Uses of Interface
net.jxta.peergroup.PeerGroup

Packages that use PeerGroup
net.jxta.credential Credentials provide the basic mechanisms for securly establishing and communicating identity within JXTA. 
net.jxta.endpoint Provides interfaces and classes used for the addressing, filtering, sending, and receiving of messages within JXTA. 
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.socket The socket package provides interface ala Socket over JXTA pipes. 
net.jxta.util A collection of utility classes used by the JXTA implementation and/or useful to users of the JXTA API. 
 

Uses of PeerGroup in net.jxta.credential
 

Constructors in net.jxta.credential with parameters of type PeerGroup
AuthenticationCredential(PeerGroup peergroup, Element root)
          Creates new AuthenticationCredential
AuthenticationCredential(PeerGroup peergroup, String method, Element indentityInfo)
          Creates new AuthenticationCredential
 

Uses of PeerGroup in net.jxta.endpoint
 

Methods in net.jxta.endpoint that return PeerGroup
 PeerGroup EndpointService.getGroup()
          Returns the group to which this EndpointService is attached.
 

Uses of PeerGroup in net.jxta.peergroup
 

Classes in net.jxta.peergroup that implement PeerGroup
 class LightWeightPeerGroup
          LightWeightPeerGroup is a class intended to help building PeerGroup that can inherit one or more services from a parent PeerGroup.
 

Methods in net.jxta.peergroup that return PeerGroup
 PeerGroup WorldPeerGroupFactory.getInterface()
          Returns a strong (reference counted) interface object for the World Peer Group.
 PeerGroup NetPeerGroupFactory.getInterface()
          Returns a strong (reference counted) interface object for the Net Peer Group instance.
 PeerGroup LightWeightPeerGroup.getParentGroup()
          Returns the parent group of this group.
 PeerGroup PeerGroup.getParentGroup()
          Returns the parent group of this group.
 PeerGroup LightWeightPeerGroup.getWeakInterface()
          Returns a weak interface object that represents this group.
 PeerGroup WorldPeerGroupFactory.getWeakInterface()
          Returns a weak (non-reference counted) interface object for the World Peer Group.
 PeerGroup PeerGroup.getWeakInterface()
          Returns a weak interface object that represents this group.
 PeerGroup NetPeerGroupFactory.getWeakInterface()
          Returns a weak (non-reference counted) interface object for the Net Peer Group.
 PeerGroup PeerGroup.GlobalRegistry.lookupInstance(PeerGroupID gid)
          Returns a running instance of the peergroup with given ID if any exists.
 PeerGroup LightWeightPeerGroup.newGroup(Advertisement pgAdv)
          Instantiate a peer group from the provided advertisement.
 PeerGroup PeerGroup.newGroup(Advertisement pgAdv)
          Instantiate a peer group from the provided advertisement.
 PeerGroup LightWeightPeerGroup.newGroup(PeerGroupID gid)
          Instantiate a group from its Peer Group ID only.
 PeerGroup PeerGroup.newGroup(PeerGroupID gid)
          Instantiate a group from its Peer Group ID only.
 PeerGroup LightWeightPeerGroup.newGroup(PeerGroupID gid, Advertisement impl, String name, String description)
          Instantiates a peer group from its elementary pieces and publishes the corresponding PeerGroupAdvertisement.
 PeerGroup PeerGroup.newGroup(PeerGroupID gid, Advertisement impl, String name, String description)
          Instantiates a peer group from its elementary pieces and publishes the corresponding PeerGroupAdvertisement.
static PeerGroup PeerGroupFactory.newNetPeerGroup()
          Deprecated. Consider converting to use NetPeerGroupFactory.NetPeerGroupFactory() or preferably one of the other NetPeerGroupFactory constructors.
static PeerGroup PeerGroupFactory.newNetPeerGroup(PeerGroup ppg)
          Deprecated. Consider converting to use NetPeerGroupFactory.NetPeerGroupFactory(PeerGroup,ID,String,XMLElement).
static PeerGroup PeerGroupFactory.newPeerGroup()
          Deprecated. This method was previously unused and has been removed with no alternatives. (it wasn't useful)
static PeerGroup PeerGroupFactory.newPlatform()
          Deprecated. Consider converting to use WorldPeerGroupFactory.WorldPeerGroupFactory().
 

Methods in net.jxta.peergroup with parameters of type PeerGroup
 void LightWeightPeerGroup.init(PeerGroup group, ID assignedID, Advertisement implAdv)
          Initialize the module, passing it its peer group and advertisement.
static PeerGroup PeerGroupFactory.newNetPeerGroup(PeerGroup ppg)
          Deprecated. Consider converting to use NetPeerGroupFactory.NetPeerGroupFactory(PeerGroup,ID,String,XMLElement).
 boolean PeerGroup.GlobalRegistry.registerInstance(PeerGroupID gid, PeerGroup pg)
          Registers a new instance.
 boolean PeerGroup.GlobalRegistry.unRegisterInstance(PeerGroupID gid, PeerGroup pg)
          Unregisters a group instance (normally because the group is being stopped.
 

Constructors in net.jxta.peergroup with parameters of type PeerGroup
NetPeerGroupFactory(PeerGroup parentGroup)
          Constructs a Net Peer Group using the specified parent peer group.
NetPeerGroupFactory(PeerGroup parentGroup, ConfigParams config, ModuleImplAdvertisement moduleImplAdv)
          Constructs a Net Peer Group instance using the specified parent peer group (normally the World Peer Group).
NetPeerGroupFactory(PeerGroup parentGroup, ConfigParams config, URI storeHome)
          Constructs a Net Peer Group and the World Peer Group using the configuration specified by the provided ConfigParams and using the specified storeHome location for persistence.
NetPeerGroupFactory(PeerGroup parentGroup, ID id, String name, XMLElement desc)
          Deprecated. With the addition of support for PeerGroupConfigAdv this constructor is being deprecated as the precedence of settings is ambiguous.
NetPeerGroupFactory(PeerGroup parentGroup, ID id, String name, XMLElement desc, ModuleImplAdvertisement moduleImplAdv)
          Deprecated. With the addition of support for PeerGroupConfigAdv this constructor is being deprecated as the precedence of settings is ambiguous.
 

Uses of PeerGroup in net.jxta.platform
 

Methods in net.jxta.platform that return PeerGroup
 PeerGroup NetworkManager.getNetPeerGroup()
          Gets the netPeerGroup object
 PeerGroup NetworkManager.startNetwork()
          Creates and starts the JXTA infrastructure peer group (aka NetPeerGroup) based on the specified mode template.
 

Methods in net.jxta.platform with parameters of type PeerGroup
 void Module.init(PeerGroup group, ID assignedID, Advertisement implAdv)
          Initialize the module, passing it its peer group and advertisement.
static void NetworkManager.login(PeerGroup group, char[] keystore_password, char[] principal_password)
          Establishes group credential.
 

Uses of PeerGroup in net.jxta.socket
 

Fields in net.jxta.socket declared as PeerGroup
protected  PeerGroup JxtaSocket.group
          The PeerGroup
protected  PeerGroup JxtaMulticastSocket.group
           
protected  PeerGroup JxtaServerSocket.group
          The PeerGroup
 

Methods in net.jxta.socket that return PeerGroup
 PeerGroup JxtaServerSocket.getGroup()
          Gets the group associated with this JxtaServerSocket object
 

Methods in net.jxta.socket with parameters of type PeerGroup
 void JxtaServerSocket.bind(PeerGroup group, PipeAdvertisement pipeAdv)
          Binds the JxtaServerSocket to a specific pipe advertisement
 void JxtaServerSocket.bind(PeerGroup group, PipeAdvertisement pipeadv, int backlog)
          Binds the JxtaServerSocket to a specific pipe advertisement
 void JxtaSocket.connect(PeerGroup group, PeerID peerid, PipeAdvertisement pipeAdv, int timeout)
          Connects to a JxtaServerSocket on a specific peer within a timeout specified in milliseconds
 void JxtaSocket.connect(PeerGroup group, PipeAdvertisement pipeAdv)
          Connects to a JxtaServerSocket on any peer within the default timeout of 60 seconds
 void JxtaSocket.connect(PeerGroup group, PipeAdvertisement pipeAdv, int timeout)
          Connects to a JxtaServerSocket on any peer within a timeout specified in milliseconds
protected  Message JxtaSocket.createConnectMessage(PeerGroup group, PipeAdvertisement pipeAdv, Credential credential, boolean isReliable, boolean initiator)
          Create a connection request/response message
protected  JxtaSocket JxtaServerSocket.createEphemeralSocket(PeerGroup group, PipeAdvertisement pipeAdv, PipeAdvertisement remoteEphemeralPipeAdv, PeerAdvertisement remotePeerAdv, Credential localCredential, Credential credential, boolean isReliable)
          Construct the emphemeral socket result from accept.
protected static StructuredDocument JxtaMulticastSocket.getCredDoc(PeerGroup group)
          Obtain the credential doc from the group object
protected static Credential JxtaSocket.getDefaultCredential(PeerGroup group)
          obtain the cred doc from the group object
 void JxtaMulticastSocket.joinGroup(PeerGroup group, PipeAdvertisement pipeAd)
          joins MutlicastSocket to specified pipe within the context of group
protected static Messenger JxtaSocket.lightweightOutputPipe(PeerGroup group, PipeAdvertisement pipeAdv, PeerAdvertisement peerAdv)
          A lightweight output pipe constructor, note the return type Since all the info needed is available, there's no need for to use the pipe service to resolve the pipe we have all we need to construct a messenger.
 

Constructors in net.jxta.socket with parameters of type PeerGroup
JxtaMulticastSocket(PeerGroup group, PipeAdvertisement pipeAd)
          Create a multicast socket and bind it to a specific pipe within specified peer group
JxtaServerSocket(PeerGroup group, PipeAdvertisement pipeAdv)
          Constructs and binds a JxtaServerSocket to the specified pipe.
JxtaServerSocket(PeerGroup group, PipeAdvertisement pipeAdv, int backlog)
          Constructor for the JxtaServerSocket object
JxtaServerSocket(PeerGroup group, PipeAdvertisement pipeAdv, int backlog, int timeout)
          Constructor for the JxtaServerSocket object.
JxtaServerSocket(PeerGroup group, PipeAdvertisement pipeAdv, int backlog, int timeout, CredentialValidator credValidator)
          Constructor for the JxtaServerSocket object.
JxtaSocket(PeerGroup group, PeerID peerid, PipeAdvertisement pipeAdv, int timeout)
          Create a JxtaSocket to any peer listening on pipeAdv this attempts establish a connection to specified pipe within a context of group and within the timeout specified in milliseconds
JxtaSocket(PeerGroup group, PeerID peerid, PipeAdvertisement pipeAdv, int timeout, boolean reliable)
          Create a JxtaSocket to any peer listening on pipeAdv this attempts establish a connection to specified pipe within a context of group and within the timeout specified in milliseconds
JxtaSocket(PeerGroup group, PipeAdvertisement pipeAdv)
          Create a JxtaSocket to any node listening on pipeAdv
JxtaSocket(PeerGroup group, PipeAdvertisement pipeAdv, int timeout)
          Create a JxtaSocket to any peer listening on pipeAdv this attempts establish a connection to specified pipe within the context of the specified group within timeout specified in milliseconds.
JxtaSocket(PeerGroup group, PipeAdvertisement pipeAdv, PipeAdvertisement remoteEphemeralPipeAdv, PeerAdvertisement remotePeerAdv, Credential localCredential, Credential remoteCredential, boolean isReliable)
          This constructor is used by JxtaServer socket for creating JxtaSocket instances in response to incoming connections.
JxtaSocketAddress(PeerGroup peerGroup, PipeAdvertisement pipeAdv)
          Creates a new instance of JxtaSocketAddress.
JxtaSocketAddress(PeerGroup peerGroup, PipeAdvertisement pipeAdv, PeerAdvertisement peerAdv)
          Creates a new instance of JxtaSocketAddress.
JxtaSocketAddress(PeerGroup peerGroup, PipeAdvertisement pipeAdv, PeerID peerId)
          Deprecated. use the PeerAdvertisement variant instead
 

Uses of PeerGroup in net.jxta.util
 

Fields in net.jxta.util declared as PeerGroup
protected  PeerGroup JxtaBiDiPipe.group
           
 

Methods in net.jxta.util that return PeerGroup
 PeerGroup JxtaServerPipe.getGroup()
          Gets the group associated with this JxtaServerPipe
 

Methods in net.jxta.util with parameters of type PeerGroup
 void JxtaServerPipe.bind(PeerGroup group, PipeAdvertisement pipeadv)
          Binds the JxtaServerPipe to a specific pipe advertisement
 void JxtaServerPipe.bind(PeerGroup group, PipeAdvertisement pipeadv, int backlog)
          Binds the JxtaServerPipe to a specific pipe advertisement
static void AdvertisementUtilities.cachePeerAdvertisement(PeerGroup peerGroup, PeerAdvertisement peerAdvertisement)
          Deprecated. Publish and advertisement to the Cache
 void JxtaBiDiPipe.connect(PeerGroup group, PeerID peerid, PipeAdvertisement pipeAd, int timeout, PipeMsgListener msgListener)
          Connects to a remote JxtaServerPipe
 void JxtaBiDiPipe.connect(PeerGroup group, PeerID peerid, PipeAdvertisement pipeAd, int timeout, PipeMsgListener msgListener, boolean reliable)
          Connects to a remote JxtaServerPipe
 void JxtaBiDiPipe.connect(PeerGroup group, PipeAdvertisement pipeAd)
          Connect to a JxtaServerPipe with default timeout
 void JxtaBiDiPipe.connect(PeerGroup group, PipeAdvertisement pipeAd, int timeout)
          Connects to a remote JxtaBiDiPipe
static PipeAdvertisement PipeUtilities.createNewPipeAdvertisement(PeerGroup peerGroup, String pipeType)
           
protected  Message JxtaBiDiPipe.createOpenMessage(PeerGroup group, PipeAdvertisement pipeAd)
          Creates a connection request message
static PipeAdvertisement AdvertisementUtilities.createPipeAdvertisement(PeerGroup peerGroup, String pipeType)
          Deprecated. Create a Pipe Advertisement
static PipeAdvertisement AdvertisementUtilities.createPipeAdvertisement(PeerGroup peerGroup, String sPipeID, String pipeType, String name)
          Deprecated. Create a Pipe Advertisement
protected static StructuredDocument JxtaBiDiPipe.getCredDoc(PeerGroup group)
          Obtain the cred doc from the group object.
protected static Messenger JxtaBiDiPipe.getDirectMessenger(PeerGroup group, PipeAdvertisement pipeAdv, PeerAdvertisement peer)
          A lightweight direct messenger output pipe constructor, note the return type Since all the info needed is available, there's no need for to use the pipe service to resolve the pipe we have all we need to construct a messenger.
protected static Messenger JxtaBiDiPipe.lightweightOutputPipe(PeerGroup group, PipeAdvertisement pipeAdv, PeerAdvertisement peer)
          A lightweight output pipe constructor, note the return type Since all the info needed is available, there's no need for to use the pipe service to resolve the pipe we have all we need to construct a messenger.
protected static PipeAdvertisement JxtaServerPipe.newInputPipe(PeerGroup group, PipeAdvertisement pipeadv)
          Utility method newInputPipe is used to get new pipe advertisement (w/random pipe ID) from old one.
protected  void JxtaServerPipe.sendResponseMessage(PeerGroup group, Messenger msgr, PipeAdvertisement pipeAd)
          Method sendResponseMessage get the createResponseMessage and sends it.
 

Constructors in net.jxta.util with parameters of type PeerGroup
JxtaBiDiPipe(PeerGroup group, Messenger msgr, PipeAdvertisement pipe, StructuredDocument credDoc, boolean isReliable, boolean direct)
          Creates a bidirectional pipe
JxtaBiDiPipe(PeerGroup group, PipeAdvertisement pipeAd, int timeout, PipeMsgListener msgListener)
          Creates a bidirectional pipe.
JxtaBiDiPipe(PeerGroup group, PipeAdvertisement pipeAd, int timeout, PipeMsgListener msgListener, boolean reliable)
          attempts to create a bidirectional connection to remote peer
JxtaBiDiPipe(PeerGroup group, PipeAdvertisement pipeAd, PipeMsgListener msgListener)
          Creates a bidirectional pipe.
JxtaServerPipe(PeerGroup group, PipeAdvertisement pipeadv)
          Default constructor for the JxtaServerPipe

backlog default of 50 call to accept() for this ServerPipe will block for only this amount of time.

JxtaServerPipe(PeerGroup group, PipeAdvertisement pipeadv, int backlog)
          Constructor for the JxtaServerPipe object
JxtaServerPipe(PeerGroup group, PipeAdvertisement pipeadv, int backlog, int timeout)
          Constructor for the JxtaServerPipe
 


JXSE