Package org.jppf.node

Interface NodeConnection<C>

Type Parameters:
C - the type of communication channel used by this connection.
All Known Subinterfaces:
ClassLoaderConnection<C>
All Known Implementing Classes:
AbstractClassLoaderConnection, AbstractNodeConnection, AsyncLocalClassLoaderConnection, RemoteClassLoaderConnection

public interface NodeConnection<C>
Instances of this class represent the connection between a node's class loader and the driver.
Author:
Laurent Cohen
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Close this connection.
    Get the communication channel for this connection.
    void
    Initialize this connection.
    void
    Reset this connection.
  • Method Details

    • init

      void init() throws Exception
      Initialize this connection.
      Throws:
      Exception - if any error occurs.
    • reset

      void reset() throws Exception
      Reset this connection.
      Throws:
      Exception - if any error occurs.
    • close

      void close() throws Exception
      Close this connection.
      Throws:
      Exception - if any error occurs.
    • getChannel

      C getChannel()
      Get the communication channel for this connection.
      Returns:
      an object representing the channel.