|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnet.eduvax.grant.core.Node
net.eduvax.grant.core.RemoteNode
net.eduvax.grant.xmlrpc.XMLrpcRemoteNode
class XMLrpcRemoteNode
Node request broker on xml rpc. sends node request thrue XML RPC protocole.
| Field Summary | |
|---|---|
private XmlRpcClient |
remoteNode
remote xmlrpc node client connection. |
| Constructor Summary | |
|---|---|
XMLrpcRemoteNode(java.lang.String n)
Create new xmlrpc node. |
|
| Method Summary | |
|---|---|
private void |
addExecRequestToParams(java.util.Vector params,
ExecRequest er)
|
Node |
addNode(java.lang.String name)
xml rpc call to add a node to remote node. |
int |
execReport(ExecReport er)
xml rpc call to report execution. |
java.lang.String[] |
getKnownNodes()
request for known nodes name list. |
void |
handleEvent(int eventType,
TaskletEvent event)
xml rpc call to ask remote node for handling event. |
float |
load()
xml rpc call to get remaote node load. |
void |
removeNode(java.lang.String name)
xml rpc call to remove a node from remote node. |
void |
shutdown()
xml rpc call to shutdown remote node. |
java.lang.String |
status()
xml rpc call to get remote node status. |
ExecRequest |
submitRequest(ExecRequest er)
xml rpc call to route request to a node. |
| Methods inherited from class net.eduvax.grant.core.Node |
|---|
createNode, getFitness, getName, getRCDir, registerNodeFactory, setFitness |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private XmlRpcClient remoteNode
| Constructor Detail |
|---|
public XMLrpcRemoteNode(java.lang.String n)
| Method Detail |
|---|
public ExecRequest submitRequest(ExecRequest er)
submitRequest in class Nodend - target node description.er - execute request.
public int execReport(ExecReport er)
execReport in class Nodeer - execute report.
public void removeNode(java.lang.String name)
removeNode in class Nodename - node's name (xmlrpc server url)public Node addNode(java.lang.String name)
addNode in class Nodename - node's name (xmlrpc server url)
public void handleEvent(int eventType,
TaskletEvent event)
handleEvent in class NodeeventType - evnet typeevent - tasklet eventpublic java.lang.String status()
status in class Nodepublic void shutdown()
shutdown in class Nodepublic float load()
load in class Nodepublic java.lang.String[] getKnownNodes()
Node
getKnownNodes in class Node
private void addExecRequestToParams(java.util.Vector params,
ExecRequest er)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||