Server

mill.server.Server
See theServer companion object
abstract class Server[Prepared, Handled](args: Args)

Implementation of a server that binds to a random port, informs a client of the port, and accepts a client connections.

Attributes

Companion
object
Source
Server.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class MillDaemonServer[State]

Members list

Value members

Abstract methods

def checkIfClientAlive(connectionData: ConnectionData, data: Prepared): Boolean

Attributes

Source
Server.scala
def endConnection(connectionData: ConnectionData, data: Option[Prepared], result: Option[Handled]): Unit

Attributes

Source
Server.scala

Exit code to send to other clients when server is terminated while handling a request

Exit code to send to other clients when server is terminated while handling a request

Attributes

Source
Server.scala
def handleConnection(connectionData: ConnectionData, stopServer: StopServer0[Handled], setIdle: SetIdle, data: Prepared): Handled

Attributes

Source
Server.scala
def prepareConnection(connectionData: ConnectionData, stopServer: StopServer0[Handled]): Prepared

Attributes

Source
Server.scala
def systemExit(exitCode: Handled): Nothing

Attributes

Source
Server.scala

Concrete methods

def connectionHandlerThreadName(socket: Socket): String

Attributes

Source
Server.scala
def run(): Option[Handled]

Attributes

Source
Server.scala
def runLocked(initialSystemProperties: Map[String, String], socketPortFile: Path): Option[Handled]

Attributes

Source
Server.scala
def runSocketHandler(clientSocket: Socket, initialSystemProperties: Map[String, String], closeServer0: Option[Handled] => Unit, connectionTracker: ConnectionTracker): Unit

Attributes

Source
Server.scala
def serverLog(s: String): Unit

Attributes

Source
Server.scala
def serverLog0(s: String): Unit

Attributes

Source
Server.scala

Concrete fields

val acceptTimeoutMillisOpt: Option[Long]

Attributes

Source
Server.scala
val processId: Long

Attributes

Source
Server.scala