NoMappedRootsMillRpcWireTransport

mill.javalib.worker.NoMappedRootsMillRpcWireTransport
class NoMappedRootsMillRpcWireTransport(name: String, serverToClient: BufferedReader, clientToServer: PrintStream, writeSynchronizer: AnyRef, logDir: Option[Path] = ...) extends MillRpcWireTransport

Attributes

Source
NoMappedRootsMillRpcWireTransport.scala
Graph
Supertypes
trait AutoCloseable
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

override def writeSerialized[A : Writer](message: A): Unit

Helper that writes a message to the wire, logging along the way.

Helper that writes a message to the wire, logging along the way.

Attributes

Definition Classes
Source
NoMappedRootsMillRpcWireTransport.scala

Inherited methods

def close(): Unit

Attributes

Inherited from:
MillRpcWireTransport
Source
MillRpcWireTransport.scala
def read(): Option[String]

Attributes

Inherited from:
MillRpcWireTransport
Source
MillRpcWireTransport.scala
final def readAndTryToParse[A : Reader](typeName: String, log: String => Unit): Option[A]

Helper that reads a message from the wire and tries to parse it, logging along the way.

Helper that reads a message from the wire and tries to parse it, logging along the way.

Attributes

Inherited from:
MillRpcWireTransport
Source
MillRpcWireTransport.scala
def readAndTryToParse[A](log: String => Unit)(using evidence$1: Reader[A], typeName: TPrint[A]): Option[A]

Attributes

Inherited from:
MillRpcWireTransport
Source
MillRpcWireTransport.scala
def write(message: String): Unit

Attributes

Inherited from:
MillRpcWireTransport
Source
MillRpcWireTransport.scala
def writeHeartbeat(): Boolean

Writes an empty line as a heartbeat and returns whether the write succeeded. Unlike write(""), this checks for errors since PrintStream swallows exceptions internally.

Writes an empty line as a heartbeat and returns whether the write succeeded. Unlike write(""), this checks for errors since PrintStream swallows exceptions internally.

Attributes

Inherited from:
MillRpcWireTransport
Source
MillRpcWireTransport.scala