Package org.jppf.classloader
Class RemoteClassLoaderConnection
java.lang.Object
org.jppf.node.AbstractNodeConnection<C>
org.jppf.classloader.AbstractClassLoaderConnection<org.jppf.comm.socket.SocketWrapper>
org.jppf.classloader.RemoteClassLoaderConnection
- All Implemented Interfaces:
ClassLoaderConnection<org.jppf.comm.socket.SocketWrapper>,NodeConnection<org.jppf.comm.socket.SocketWrapper>
public class RemoteClassLoaderConnection
extends AbstractClassLoaderConnection<org.jppf.comm.socket.SocketWrapper>
Concrete implementation of
ClassLoaderConnection for connecting to a remote driver.- Author:
- Laurent Cohen
-
Field Summary
Fields inherited from class org.jppf.classloader.AbstractClassLoaderConnection
requestHandler, uuidFields inherited from class org.jppf.node.AbstractNodeConnection
channel, initializing, lock -
Constructor Summary
ConstructorsConstructorDescriptionRemoteClassLoaderConnection(String uuid, DriverConnectionInfo connectionInfo, org.jppf.utils.TypedProperties config) Initialize with the required information to connect to the server. -
Method Summary
Methods inherited from class org.jppf.classloader.AbstractClassLoaderConnection
getRequestHandler, loadResource, performCommonHandshake, reset, sendCloseChannelCommand, toStringMethods inherited from class org.jppf.node.AbstractNodeConnection
getChannelMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.jppf.node.NodeConnection
getChannel
-
Constructor Details
-
RemoteClassLoaderConnection
public RemoteClassLoaderConnection(String uuid, DriverConnectionInfo connectionInfo, org.jppf.utils.TypedProperties config) Initialize with the required information to connect to the server.- Parameters:
uuid- this node's uuid.connectionInfo- he server conenction information.config- the node configuration
-
-
Method Details
-
init
Description copied from interface:NodeConnectionInitialize this connection.- Throws:
Exception- if any error occurs.
-
close
public void close()Description copied from interface:NodeConnectionClose this connection.
-