org.jppf.classloader
Class JPPFClassLoader.ResourceRequest
java.lang.Object
org.jppf.classloader.AbstractJPPFClassLoaderLifeCycle.AbstractResourceRequest
org.jppf.classloader.JPPFClassLoader.ResourceRequest
- All Implemented Interfaces:
- Runnable
- Enclosing class:
- JPPFClassLoader
protected class JPPFClassLoader.ResourceRequest
- extends AbstractJPPFClassLoaderLifeCycle.AbstractResourceRequest
Encapsulates a remote resource request submitted asynchronously
via the single-thread executor.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
transform
protected JPPFDataTransform transform
- The data transform to apply.
serializer
protected ObjectSerializer serializer
- The object serializer to use.
data
protected byte[] data
- The data sent and received from the server.
JPPFClassLoader.ResourceRequest
public JPPFClassLoader.ResourceRequest(JPPFResourceWrapper request)
throws Exception
- Initialize with the specified request.
- Parameters:
request - the request to send.
- Throws:
Exception - if any error occurs.
run
public void run()
-
getResponse
public JPPFResourceWrapper getResponse()
throws Exception
- Get the response received.
- Overrides:
getResponse in class AbstractJPPFClassLoaderLifeCycle.AbstractResourceRequest
- Returns:
- a
JPPFResourceWrapper instance.
- Throws:
Exception - if any error occurs.
Copyright © 2005-2010 JPPF Team.