RpcStdinInputStream

mill.server.MillDaemonServer.RpcStdinInputStream
class RpcStdinInputStream(serverToClient: MillRpcChannel[ServerToClient]) extends InputStream

An InputStream that polls the client for stdin data via RPC. Used to support "Enter to re-run" in watch mode when running in daemon mode.

Note: This is designed for use with lookForEnterKey which calls available() first, then read(). The polling only happens in available().

Attributes

Source
MillDaemonServer.scala
Graph
Supertypes
class InputStream
trait Closeable
trait AutoCloseable
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

override def available(): Int

Attributes

Definition Classes
InputStream
Source
MillDaemonServer.scala
override def read(): Int

Attributes

Definition Classes
InputStream
Source
MillDaemonServer.scala
override def read(b: Array[Byte], off: Int, len: Int): Int

Attributes

Definition Classes
InputStream
Source
MillDaemonServer.scala

Inherited methods

def close(): Unit

Attributes

Inherited from:
InputStream
def mark(x$0: Int): Unit

Attributes

Inherited from:
InputStream
def markSupported(): Boolean

Attributes

Inherited from:
InputStream
def read(x$0: Array[Byte]): Int

Attributes

Inherited from:
InputStream
def readAllBytes(): Array[Byte]

Attributes

Inherited from:
InputStream
def readNBytes(x$0: Array[Byte], x$1: Int, x$2: Int): Int

Attributes

Inherited from:
InputStream
def readNBytes(x$0: Int): Array[Byte]

Attributes

Inherited from:
InputStream
def reset(): Unit

Attributes

Inherited from:
InputStream
def skip(x$0: Long): Long

Attributes

Inherited from:
InputStream
def skipNBytes(x$0: Long): Unit

Attributes

Inherited from:
InputStream
def transferTo(x$0: OutputStream): Long

Attributes

Inherited from:
InputStream