uk.ac.ic.doc.automed.p2p.son
Class PGridNetworkHelper
java.lang.Object
uk.ac.ic.doc.automed.p2p.son.PGridNetworkHelper
public class PGridNetworkHelper
- extends java.lang.Object
- Version:
- 1.0
Department of Computing, Imperial College
- Author:
- Duc M Le dmle@doc.ic.ac.uk
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PGridNetworkHelper
protected PGridNetworkHelper()
startBootStrapHostInstance
public static void startBootStrapHostInstance(int pid,
int localPort)
startVirtualHost
public static void startVirtualHost(int pid,
int localPort)
startQueryPeerInstance
public static SMRControllerPGrid startQueryPeerInstance(int pid,
int localPort)
startVirtualPeers
public static void startVirtualPeers(int baseid,
int peerNumbers,
int basePort)
- Start k number of P-Grid peers on the localhost
- Parameters:
baseid
- base id from which to number the peerspeerNumbers
- the number of peers to startbasePort
- the base port from which to number the
local ports of the virtual peers