Project JXTA

net.jxta.impl.peergroup
Interface RefPeerGroup

All Known Implementing Classes:
GenericPeerGroup

public interface RefPeerGroup
extends net.jxta.peergroup.PeerGroup


Method Summary
 Endpoint getEndpoint()
          Get the endpoint used by this group.
 RefPeerGroup getParentGroup()
          Ask a group its parent group.
 
Methods inherited from interface net.jxta.peergroup.PeerGroup
getAdvertisement, getApp, getDiscovery, getID, getLoader, getMembership, getPeerID, getPeerInfo, getPeerName, getPipe, getRendezVous, getResolver, isRendezvous, lookupService
 
Methods inherited from interface net.jxta.platform.Application
init, startApp, stopApp
 

Method Detail

getParentGroup

public RefPeerGroup getParentGroup()
Ask a group its parent group. Not all group implementations have to tell you, though, and some groups do not have a parent. So, null is a valid result.
Returns:
PeerGroup the parent group.

getEndpoint

public Endpoint getEndpoint()
Get the endpoint used by this group.
Returns:
Endpoint the endpoint object.

Project JXTA