Class ForkChannel

java.lang.Object
org.apache.maven.surefire.extensions.ForkChannel
All Implemented Interfaces:
Closeable, AutoCloseable

public abstract class ForkChannel extends Object implements Closeable
It's a session object used only by a particular Thread in ForkStarter and communicates with a dedicated forked JVM. It represents a server.

It connects to a remote client by tryConnectToClient(), provides a connection string getForkNodeConnectionString() needed by the client in forked JVM, binds event handler and command reader. This object is called in one Thread.
Since:
3.0.0-M5
Author:
Tibor Digana (tibor17)