RpcConsole

mill.rpc.RpcConsole
See theRpcConsole companion trait
object RpcConsole

Attributes

Companion
trait
Source
RpcConsole.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
RpcConsole.type

Members list

Type members

Classlikes

enum Message

Attributes

Source
RpcConsole.scala
Supertypes
trait Enum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
class Utf8OutputStream(console: RpcConsole) extends OutputStream

An OutputStream that buffers incomplete UTF-8 byte sequences across writes, forwarding only complete characters as strings to the underlying RpcConsole.

An OutputStream that buffers incomplete UTF-8 byte sequences across writes, forwarding only complete characters as strings to the underlying RpcConsole.

This is needed because upstream byte sources (e.g. mill.constants.ProxyStream) may split writes at arbitrary byte boundaries, potentially in the middle of multi-byte UTF-8 characters. Without buffering, such partial sequences would be converted to the Unicode replacement character (U+FFFD).

Attributes

Source
RpcConsole.scala
Supertypes
class OutputStream
trait Flushable
trait Closeable
trait AutoCloseable
class Object
trait Matchable
class Any
Show all

Value members

Concrete methods

def create(send: Message => Unit): RpcConsole

Attributes

Source
RpcConsole.scala
def printStreamHandler(printStream: PrintStream, msg: Message): Unit

Attributes

Source
RpcConsole.scala
def stderrHandler(msg: Message): Unit

Attributes

Source
RpcConsole.scala
def stdoutHandler(msg: Message): Unit

Attributes

Source
RpcConsole.scala