ViaStreams

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

Value parameters

clientToServer

client to server stream

serverToClient

server to client stream

writeSynchronizer

synchronizer for writes

Attributes

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

Members list

Value members

Concrete methods

override def close(): Unit

Attributes

Definition Classes
AutoCloseable
Source
MillRpcWireTransport.scala
override def read(): Option[String]

Reads one raw message from the wire.

Reads one raw message from the wire.

Attributes

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

Writes one raw message to the wire.

Writes one raw message to the wire.

Attributes

Definition Classes
Source
MillRpcWireTransport.scala

Inherited methods

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

Inherited from:
MillRpcWireTransport
Source
MillRpcWireTransport.scala
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

Inherited from:
MillRpcWireTransport
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

Inherited from:
MillRpcWireTransport
Source
MillRpcWireTransport.scala

Concrete fields

override val name: String

Human-readable name of the wire.

Human-readable name of the wire.

Attributes

Source
MillRpcWireTransport.scala