MillRpcWireTransport

mill.rpc.MillRpcWireTransport
class MillRpcWireTransport(val name: String, serverToClient: BufferedReader, clientToServer: PrintStream, writeSynchronizer: AnyRef) extends AutoCloseable

Attributes

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

Members list

Value members

Concrete methods

def close(): Unit

Attributes

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

Attributes

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

Attributes

Source
MillRpcWireTransport.scala
final def readAndTryToParse[A : Reader](typeName: String, log: String => Unit, firstInvocation: Boolean): 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

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

Attributes

Source
MillRpcWireTransport.scala
def writeSerialized[A : Writer](message: A, log: String => Unit): 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

Source
MillRpcWireTransport.scala

Concrete fields

val name: String

Attributes

Source
MillRpcWireTransport.scala