Package org.jppf.server.node
Class ObjectSerializationTask
java.lang.Object
org.jppf.server.node.ObjectSerializationTask
- All Implemented Interfaces:
Callable<org.jppf.io.DataLocation>
The goal of this class is to serialize an object before sending it back to the server, and catch an eventual exception.
-
Constructor Summary
ConstructorsConstructorDescriptionObjectSerializationTask(Object object, JPPFContainer cont, org.jppf.node.protocol.TaskBundle bundle, int submitOrder) Initialize this task with the specified data buffer. -
Method Summary
-
Constructor Details
-
ObjectSerializationTask
public ObjectSerializationTask(Object object, JPPFContainer cont, org.jppf.node.protocol.TaskBundle bundle, int submitOrder) Initialize this task with the specified data buffer.- Parameters:
object- the object to serialize.cont- container used to serialize the object.bundle- the task bundle the data to serialize is a part of.submitOrder- this task's submission order.
-
-
Method Details