|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.wpi.prc.templates.java.science.RPCHandler
public class RPCHandler
This class is the RPC handler for the science application's XML-RPC server. Any of the methods in this class can be called by an XML-RPC client.
Field Summary | |
---|---|
(package private) ScienceApplication |
sciapp
|
Constructor Summary | |
---|---|
RPCHandler(ScienceApplication sciapp)
Constructor taking a reference to the science application. |
Method Summary | |
---|---|
java.util.Vector |
computeResult(byte[] data)
This handler is called when the project client sends a new work unit to the science application to be computed. |
java.util.Vector |
computeSpotCheckResult(byte[] data)
This handler is called when the project server sends a spot check work unit to the science application to be computed. |
boolean |
shutdown()
Performs any tasks necessary to clearnly shut down the science application. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
ScienceApplication sciapp
Constructor Detail |
---|
public RPCHandler(ScienceApplication sciapp)
sciapp
- The science application using this RPC handler.Method Detail |
---|
public java.util.Vector computeResult(byte[] data)
data
- The work unit to be computed.
public java.util.Vector computeSpotCheckResult(byte[] data)
data
- The work unit to be computed.
public boolean shutdown()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |