Package org.jppf.node

Class AbstractNodeConnection<C>

java.lang.Object
org.jppf.node.AbstractNodeConnection<C>
Type Parameters:
C - the type of communication channel used by this connection.
All Implemented Interfaces:
NodeConnection<C>
Direct Known Subclasses:
AbstractClassLoaderConnection

public abstract class AbstractNodeConnection<C> extends Object implements NodeConnection<C>
Abstract impelementation of ClassLoaderConnection.
Author:
Laurent Cohen
  • Field Details

    • channel

      protected C channel
      The channel used to communicate witht he driver.
    • lock

      protected final ReentrantLock lock
      Used to synchronize access to the communication channel from multiple threads.
    • initializing

      protected final AtomicBoolean initializing
      Determines whether this connection is initializing.
  • Constructor Details

    • AbstractNodeConnection

      public AbstractNodeConnection()
  • Method Details