Package org.jppf.server.node.remote
Class RemoteNodeIO
java.lang.Object
org.jppf.server.node.AbstractNodeIO<AbstractRemoteNode>
org.jppf.server.node.remote.RemoteNodeIO
- All Implemented Interfaces:
org.jppf.server.node.NodeIO
This class performs the I/O operations requested by the JPPFNode, for reading the task bundles and sending the results back.
- Author:
- Laurent Cohen
-
Field Summary
Fields inherited from class org.jppf.server.node.AbstractNodeIO
node -
Constructor Summary
ConstructorsConstructorDescriptionInitialize this TaskIO with the specified node. -
Method Summary
Modifier and TypeMethodDescriptionprotected Object[]protected Object[]deserializeObjects(org.jppf.node.protocol.TaskBundle bundle) protected voidPerforms the actions required if reloading the classes is necessary.protected voidsendResults(org.jppf.node.protocol.TaskBundle bundle, List<org.jppf.node.protocol.Task<?>> tasks) Methods inherited from class org.jppf.server.node.AbstractNodeIO
finalizeBundleData, initializeBundleData, postSendResults, readJob, readObjects, writeResults
-
Constructor Details
-
RemoteNodeIO
Initialize this TaskIO with the specified node.- Parameters:
node- the node who owns this TaskIO.
-
-
Method Details
-
deserializeObjects
- Specified by:
deserializeObjectsin classorg.jppf.server.node.AbstractNodeIO<AbstractRemoteNode>- Throws:
Exception
-
deserializeObjects
- Specified by:
deserializeObjectsin classorg.jppf.server.node.AbstractNodeIO<AbstractRemoteNode>- Throws:
Exception
-
handleReload
Performs the actions required if reloading the classes is necessary.- Specified by:
handleReloadin classorg.jppf.server.node.AbstractNodeIO<AbstractRemoteNode>- Throws:
Exception- if any error occurs.
-
sendResults
protected void sendResults(org.jppf.node.protocol.TaskBundle bundle, List<org.jppf.node.protocol.Task<?>> tasks) throws Exception - Specified by:
sendResultsin classorg.jppf.server.node.AbstractNodeIO<AbstractRemoteNode>- Throws:
Exception
-