net.jxta.impl.peergroup
Class StartNetPeerGroup
java.lang.Object
net.jxta.impl.peergroup.StartNetPeerGroup
- All Implemented Interfaces:
- Application, Module
- public class StartNetPeerGroup
- extends Object
- implements Application
This code is responsible for configuring and starting the NetPeerGroup.
Right now it starts an arbitrary peergroup; almost identical to
platform. (It actually borrows its adv).
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
pg
PeerGroup pg
assignedID
ID assignedID
impl
Advertisement impl
StartNetPeerGroup
public StartNetPeerGroup()
stopApp
public void stopApp()
-
- Specified by:
stopApp
in interface Module
init
public void init(PeerGroup pg,
ID assignedID,
Advertisement impl)
throws PeerGroupException
-
- Specified by:
init
in interface Module
- Throws:
PeerGroupException
startApp
public int startApp(String[] arg)
-
- Specified by:
startApp
in interface Module