JXTA

net.jxta.instantp2p
Class InstantP2P

java.lang.Object
  |
  +--net.jxta.instantp2p.PeerGroupApp
        |
        +--net.jxta.instantp2p.InstantP2P

public class InstantP2P
extends PeerGroupApp


Constructor Summary
InstantP2P()
           
 
Method Summary
 java.awt.Frame getFrame()
           
static java.lang.String getPeerName()
           
 void init(net.jxta.peergroup.PeerGroup group, net.jxta.document.Advertisement adv)
          Initialize the application
 int startApp(java.lang.String[] str)
           
 void stopApp()
           
 
Methods inherited from class net.jxta.instantp2p.PeerGroupApp
addGroup, addPeer, checkDiscoverResults, createPipeAdvertisement, getAdvertisement, getDirectory, getDiscovery, getGids, getGroup, getGroupName, getGroups, getNewPeerGroupAdvertisement, getParentApp, getPeer, getPeerGroup, getPeers, getPids, getPipePolicy, getRootDirectory, isValidPeer, joinGroup, joinNewGroup, loadAdvertisement, pollDiscover, removeGroup, removePeer, replaceTest, requestRemoteDiscover, saveAdvertisement, selectPeer, setApp, setParentApp, setRootDirectory, startPolicy
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InstantP2P

public InstantP2P()
Method Detail

init

public void init(net.jxta.peergroup.PeerGroup group,
                 net.jxta.document.Advertisement adv)
          throws net.jxta.exception.PeerGroupException
Description copied from class: PeerGroupApp
Initialize the application
Overrides:
init in class PeerGroupApp
Tags copied from class: PeerGroupApp
Parameters:
group - PeerGroup this application is started from

startApp

public int startApp(java.lang.String[] str)
Overrides:
startApp in class PeerGroupApp

stopApp

public void stopApp()
Overrides:
stopApp in class PeerGroupApp

getPeerName

public static java.lang.String getPeerName()

getFrame

public java.awt.Frame getFrame()

JXTA