Project 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 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 PeerGroup.getWeakInterface()
          Returns a weak interface object that represents this 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 its given advertisement.
 PeerGroup PeerGroup.newGroup(Advertisement pgAdv)
          Instantiate a peer group from its given 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 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.
static PeerGroup PeerGroupFactory.newNetPeerGroup()
          Instantiates the platform peergroup and then instantiates the net peer group.
static PeerGroup PeerGroupFactory.newNetPeerGroup(PeerGroup ppg)
          Instantiates the net peer group using the provided platform peer group.
static PeerGroup PeerGroupFactory.newPeerGroup()
          Static Method to create a new peer group instance.
static PeerGroup PeerGroupFactory.newPlatform()
          Instantiates the Platform Peer Group.
 

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)
          Instantiates the net peer group using the provided platform peer group.
 boolean PeerGroup.GlobalRegistry.registerInstance(PeerGroupID gid, PeerGroup pg)
          Registers a new instance.
 boolean PeerGroup.GlobalRegistry.unRegisterInstance(PeerGroupID gid, PeerGroup pg)
          Unregisters a group instance (normaly because the group is being stopped.
 

Uses of PeerGroup in net.jxta.platform
 

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.
 

Uses of PeerGroup in net.jxta.socket
 

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

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 pipeAd, int timeout)
          Connects to a remote JxtaSocket on a specific peer within a timeout specified in milliseconds
 void JxtaSocket.connect(PeerGroup group, PipeAdvertisement pipeAd)
          Connects to a remote JxtaSocket on any peer within the default timeout of 60 seconds
 void JxtaSocket.connect(PeerGroup group, PipeAdvertisement pipeAd, int timeout)
          Connects to a remote JxtaSocket on any peer within a timeout specified in milliseconds
protected  Message JxtaSocket.createOpenMessage(PeerGroup group, PipeAdvertisement pipeAd)
          Create a connection request message
protected static StructuredDocument JxtaMulticastSocket.getCredDoc(PeerGroup group)
          Obtain the credential doc from the group object
protected static StructuredDocument JxtaSocket.getCredDoc(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 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 JxtaServerSocket.newInputPipe(PeerGroup group, PipeAdvertisement pipeadv)
          Utility method newInputPipe is used to get new pipe advertisement (w/random pipe ID) from old one.
protected  void JxtaServerSocket.sendResponseMessage(PeerGroup group, Messenger msgr, PipeAdvertisement pipeAd)
          Method sendResponseMessage get the createResponseMessage and sends it.
 

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)
          Constructor for the JxtaServerSocket The backlog defaults to 50.
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 The timeout defaults to 0, i.e. blocking.
JxtaSocket(PeerGroup group, Messenger msgr, PipeAdvertisement pipe, StructuredDocument credDoc, boolean isStream)
          Constructor for the JxtaSocket, this constructor does not establish a connection use this constructor when altering the default parameters, and options of the socket by default connections are unreliable, and the default timeout is 60 seconds to alter a connection a call to create(true) changes the connection to a reliable one.
JxtaSocket(PeerGroup group, PeerID peerid, PipeAdvertisement pipeAd, 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 timeout specified in milliseconds
JxtaSocket(PeerGroup group, PeerID peerid, PipeAdvertisement pipeAd, int timeout, boolean stream)
          Create a JxtaSocket to any peer listening on pipeAdv this attempts establish a connection to specified pipe within a context of group and within timeout specified in milliseconds
JxtaSocket(PeerGroup group, PipeAdvertisement pipeAd)
          Create a JxtaSocket to any peer listening on pipeAdv
JxtaSocket(PeerGroup group, PipeAdvertisement pipeAd, 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
 

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 listener)
          Connects to a remote JxtaBiDiPipe
 void JxtaBiDiPipe.connect(PeerGroup group, PeerID peerid, PipeAdvertisement pipeAd, int timeout, PipeMsgListener listener, boolean reliable)
          Connects to a remote JxtaBiDiPipe
 void JxtaBiDiPipe.connect(PeerGroup group, PipeAdvertisement pipeAd)
          Connect to JxtaBiDiPipe 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)
          Create 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
static Advertisement DiscoveryUtilities.getLocalAdvertisement(PeerGroup peerGroup, String name, String value)
          Deprecated. Just use discovery directly. This method doesn't seem to do anything useful.
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)
          JxtaBiDiPipe A bidirectional pipe
JxtaBiDiPipe(PeerGroup group, PipeAdvertisement pipeAd, int timeout, PipeMsgListener listener)
          attempts to create a bidirectional connection to remote peer within default timeout of 1 minutes, and initiates a connection
JxtaBiDiPipe(PeerGroup group, PipeAdvertisement pipeAd, int timeout, PipeMsgListener listener, boolean reliable)
          attempts to create a bidirectional connection to remote peer within default timeout of 60,000ms, and initiates a connection
JxtaBiDiPipe(PeerGroup group, PipeAdvertisement pipeAd, PipeMsgListener listener)
          attempts to create a bidirectional connection to remote peer within default timeout of 60,000ms, and initiates a connection
JxtaServerPipe(PeerGroup group, PipeAdvertisement pipeadv)
          Default constructor for the JxtaServerPipe backlog default of 50 timeout defaults to 60 seconds, i.e. blocking.
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
 


JXTA J2SE