org.jppf.server.node
Class AbstractNodeIO.ObjectSerializationTask

java.lang.Object
  extended by 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.


Constructor Summary
AbstractNodeIO.ObjectSerializationTask(Object object)
          Initialize this task with the psecicfied data buffer.
 
Method Summary
 DataLocation call()
          Execute this task.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractNodeIO.ObjectSerializationTask

public AbstractNodeIO.ObjectSerializationTask(Object object)
Initialize this task with the psecicfied data buffer.

Parameters:
object - the object to serialize.
Method Detail

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.