|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.proactive.p2p.service.StartP2PService
public class StartP2PService
Field Summary |
---|
Fields inherited from interface org.objectweb.proactive.p2p.service.util.P2PConstants |
---|
HIDE_P2PNODE_MONITORING, MAX_NODE, P2P_NODE_NAME, PROPERPY_XML_PATH, PROPERTY_ACQUISITION, PROPERTY_EXPLORING_MSG, PROPERTY_LOOKUP_FREQ, PROPERTY_MSG_MEMORY, PROPERTY_MULTI_PROC_NODES, PROPERTY_NO_SHARING, PROPERTY_NOA, PROPERTY_NODES_ACQUISITION_T0, PROPERTY_PORT, PROPERTY_TTL, PROPERTY_TTU, SHARED_NODE_NAME, VN_NAME |
Constructor Summary | |
---|---|
StartP2PService()
Construct a new StartP2PService . |
|
StartP2PService(java.lang.String peerListFile)
Construct a new StartP2PService with a list of peers for first
contact. |
|
StartP2PService(java.util.Vector peers)
Construct a new StartP2PService with a list of peers for first
contact. |
Method Summary | |
---|---|
static java.util.Vector |
checkingPeersUrl(java.util.Vector peerList)
Add acquisition method and port number to URL of peers. |
P2PService |
getP2PService()
|
static void |
main(java.lang.String[] args)
|
void |
start()
Start a new active ProActive P2P service. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public StartP2PService()
Construct a new StartP2PService
.
Acquisition method and port number for the ProActive Runtime are specified by ProActive Java system properties:
proactive.p2p.acq
: acquisition method.proactive.p2p.port
: port number.
public StartP2PService(java.lang.String peerListFile)
Construct a new StartP2PService
with a list of peers for first
contact.
Acquisition method and port number for the ProActive Runtime are specified by ProActive Java system properties:
proactive.p2p.acq
: acquisition method.proactive.p2p.port
: port number.
peerListFile
- a file with a list of peers.public StartP2PService(java.util.Vector peers)
Construct a new StartP2PService
with a list of peers for first
contact.
Acquisition method and port number for the ProActive Runtime are specified by ProActive Java system properties:
proactive.p2p.acq
: acquisition method.proactive.p2p.port
: port number.
peers
- list of peers.Method Detail |
---|
public static void main(java.lang.String[] args)
public static java.util.Vector checkingPeersUrl(java.util.Vector peerList)
public void start() throws ProActiveException
Start a new active ProActive P2P service.
Warning: it's not a thread.
ProActiveException
public P2PService getP2PService()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |