mill.daemon.MillDaemonMain
See theMillDaemonMain companion object
class MillDaemonMain(daemonDir: Path, acceptTimeout: FiniteDuration, locks: Locks, outMode: OutFolderMode) extends MillDaemonServer[RunnerState]
Attributes
- Companion
- object
- Source
- MillDaemonMain.scala
- Graph
-
- Supertypes
-
class MillDaemonServer[RunnerState]class ProxyStreamServerclass Serverclass Objecttrait Matchableclass AnyShow all
Members list
Type members
Inherited classlikes
case class ProxyStreamServerData(stdout: PrintStream, stderr: PrintStream, writtenExitCode: AtomicBoolean, customData: ProxyStreamServer.this.PreHandleConnectionCustomData)
Attributes
- Inherited from:
- ProxyStreamServer
- Source
- ProxyStreamServer.scala
- Supertypes
-
trait Serializabletrait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Inherited types
Attributes
- Inherited from:
- ProxyStreamServer
- Source
- ProxyStreamServer.scala
Value members
Concrete methods
def main0(args: Array[String], stateCache: RunnerState, mainInteractive: Boolean, streams: SystemStreams, env: Map[String, String], setIdle: Boolean => Unit, userSpecifiedProperties: Map[String, String], initialSystemProperties: Map[String, String], systemExit: StopServer): (Boolean, RunnerState)
Attributes
- Source
- MillDaemonMain.scala
Initial state.
Inherited methods
override protected def checkIfClientAlive(connectionData: ConnectionData, stopServer: StopServer, data: PreHandleConnectionData): Boolean
Returns true if the client is still alive. Invoked from another thread.
Returns true if the client is still alive. Invoked from another thread.
Attributes
- Definition Classes
- Inherited from:
- ProxyStreamServer
- Source
- ProxyStreamServer.scala
final override protected def handleConnection(connectionData: ConnectionData, stopServer: StopServer, setIdle: SetIdle, data: PreHandleConnectionData): Unit
Handle a single client connection in a separate thread.
Handle a single client connection in a separate thread.
Attributes
- Definition Classes
- Inherited from:
- ProxyStreamServer
- Source
- ProxyStreamServer.scala
override protected def onExceptionInHandleConnection(connectionData: ConnectionData, stopServer: StopServer, data: ProxyStreamServerData, exception: Throwable): Unit
Invoked in handleConnection results in an exception.
Invoked in handleConnection results in an exception.
Attributes
- Definition Classes
- Inherited from:
- ProxyStreamServer
- Source
- ProxyStreamServer.scala
override protected def onStopServer(from: String, reason: String, exitCode: Int, connectionData: ConnectionData, data: Option[PreHandleConnectionData]): Unit
Invoked when the server is stopped.
Invoked when the server is stopped.
Value parameters
- data
-
will be None if preHandleConnection haven't been invoked yet.
Attributes
- Definition Classes
- Inherited from:
- ProxyStreamServer
- Source
- ProxyStreamServer.scala
final override protected def preHandleConnection(connectionData: ConnectionData, stopServer: StopServer): PreHandleConnectionData
Invoked before a thread that runs handleConnection is spawned.
Invoked before a thread that runs handleConnection is spawned.
Attributes
- Definition Classes
- Inherited from:
- ProxyStreamServer
- Source
- ProxyStreamServer.scala
Attributes
- Inherited from:
- Server
- Source
- Server.scala
Attributes
- Inherited from:
- Server
- Source
- Server.scala
Attributes
- Inherited from:
- Server
- Source
- Server.scala
Inherited fields
Attributes
- Inherited from:
- Server
- Source
- Server.scala
In this article