|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectp2pMapReduce.impl.networkModule.jxta.JxtaNetworkModule
p2pMapReduce.test.networkModule.NetworkModulePrototipe
public class NetworkModulePrototipe
Field Summary |
---|
Constructor Summary | |
---|---|
NetworkModulePrototipe(NetworkConfiguration networkConfiguration)
|
Method Summary | |
---|---|
NodeInfo |
getNodeInfo()
Return the same instance of NodeInfo returned by the joinNetwork() method. |
net.jxta.peergroup.PeerGroup |
getP2pMapReduceGroup()
|
NodeInfo |
joinNetwork()
Call this method once to enter the P2PMapReduce network. |
Methods inherited from class p2pMapReduce.impl.networkModule.jxta.JxtaNetworkModule |
---|
addEventListener, becomeMaster, becomeSlave, connectedOrRDV, connectionClosed, find, getActiveConnection, getAllAvailableNodes, getAllAvailableNodesFromLocalCache, getAllAvailableNodesFromLocalCache, getAllMasters, getAllNodes, getAllNodesFromLocalCache, getAllSlaves, getAvailableNodeFromLocalCache, getConnection, getConnection, getFtpManager, getNetPeerGroup, getNetworkManager, getNodeModule, getNumMasters, getNumNodes, getNumSlaves, getOtherMasters, getOtherSlaves, isAlive, nodeFailure, publish, putConnection, removeConnection, rendezvousEvent, send, send, setNodeModule |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NetworkModulePrototipe(NetworkConfiguration networkConfiguration)
Method Detail |
---|
public NodeInfo joinNetwork()
NetworkModuleIF
NetworkModuleIF.getNodeInfo()
.
All the updates to the node information will affect this NodeInfo instance.
It also:
- publishes this NodeInfo by calling publish()
- make this NetworkModule capable to receive remote connection from other nodes.
- starts an FTP server
joinNetwork
in interface NetworkModuleIF
joinNetwork
in class JxtaNetworkModule
public NodeInfo getNodeInfo()
NetworkModuleIF
getNodeInfo
in interface NetworkModuleIF
getNodeInfo
in class JxtaNetworkModule
public net.jxta.peergroup.PeerGroup getP2pMapReduceGroup()
getP2pMapReduceGroup
in class JxtaNetworkModule
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |