MillRpcWireTransport

mill.rpc.MillRpcWireTransport
See theMillRpcWireTransport companion object
trait MillRpcWireTransport extends AutoCloseable

Attributes

Companion
object
Source
MillRpcWireTransport.scala
Graph
Supertypes
trait AutoCloseable
class Object
trait Matchable
class Any
Known subtypes

Members list

Value members

Abstract methods

def name: String

Human-readable name of the wire.

Human-readable name of the wire.

Attributes

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

Reads one raw message from the wire.

Reads one raw message from the wire.

Attributes

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

Writes one raw message to the wire.

Writes one raw message to the wire.

Attributes

Source
MillRpcWireTransport.scala

Concrete methods

def readAndTryToParse[A : Reader](log: String => Unit)(using evidence$1: Reader[A], typeName: TPrint[A]): 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
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 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

Inherited and Abstract methods

def close(): Unit

Attributes

Inherited from:
AutoCloseable