org.jppf.server.node
Class AbstractNodeIO.ObjectSerializationTask
java.lang.Object
org.jppf.server.node.AbstractNodeIO.ObjectSerializationTask
- All Implemented Interfaces:
- Callable<DataLocation>
- Enclosing class:
- AbstractNodeIO
protected class AbstractNodeIO.ObjectSerializationTask
- extends Object
- implements Callable<DataLocation>
The goal of this class is to serialize an object before sending it back to the server,
and catch an eventual exception.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractNodeIO.ObjectSerializationTask
public AbstractNodeIO.ObjectSerializationTask(Object object)
- Initialize this task with the psecicfied data buffer.
- Parameters:
object - the object to serialize.
call
public DataLocation call()
- Execute this task.
- Specified by:
call in interface Callable<DataLocation>
- Returns:
- the serialized object.
- See Also:
Callable.call()
Copyright © 2005-2010 JPPF Team.