|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.proactive.p2p.service.StartP2PService
Field Summary |
Fields inherited from interface org.objectweb.proactive.p2p.service.util.P2PConstants |
MAX_NODE, P2P_NODE_NAME, PROPERPY_XML_PATH, PROPERTY_ACQUISITION, PROPERTY_BOOKING_MAX, PROPERTY_BOOKING_NODES, PROPERTY_EXPLORING_MSG, PROPERTY_LOOKUP_FREQ, PROPERTY_MSG_MEMORY, PROPERTY_MULTI_PROC_NODES, 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 | |
P2PService |
getP2PService()
|
static void |
main(java.lang.String[] args)
Usage: java org.objectweb.proactive.p2p.service.StartP2PService [-acq acquisitionMethod] [-port portNumber] [-s Server ...] |
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)
args
- acquisitionMethod portNumber Servers List Filepublic void start() throws ProActiveException
Start a new active ProActive P2P service.
Warning: it's not a thread.
ProActiveException
public P2PService getP2PService()
null
.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |