mill.rpc

package mill.rpc

Members list

Type members

Classlikes

trait MillRpcChannel[Input <: MillRpcMessage]

One way channel for sending RPC messages.

One way channel for sending RPC messages.

Attributes

Source
MillRpcChannel.scala
Supertypes
class Object
trait Matchable
class Any
trait MillRpcClient[ClientToServer <: MillRpcMessage, ServerToClient <: MillRpcMessage] extends AutoCloseable

Connects and communicates with MillRpcServer.

Connects and communicates with MillRpcServer.

Attributes

Companion
object
Source
MillRpcClient.scala
Supertypes
trait AutoCloseable
class Object
trait Matchable
class Any
object MillRpcClient

Attributes

Companion
trait
Source
MillRpcClient.scala
Supertypes
class Object
trait Matchable
class Any
Self type
enum MillRpcClientToServer[+Data]

Protocol messages that are sent from client to the server.

Protocol messages that are sent from client to the server.

Attributes

Source
MillRpcClientToServer.scala
Supertypes
trait Enum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Attributes

Companion
object
Source
MillRpcMessage.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
trait NoResponse

Attributes

Companion
trait
Source
MillRpcMessage.scala
Supertypes
class Object
trait Matchable
class Any
Self type
case class MillRpcRequestId

Sequential request ID that reflects the back-and-forth request flow between the server and the client.

Sequential request ID that reflects the back-and-forth request flow between the server and the client.

For example:

// Client initiates a request
c0
// Server asks client for more data
c0:s0
// Client responds, server asks for even more data
c0:s1
// Client responds, server asks for even more data
c0:s2
// Client sends a request to server
c0:s2:c0
// Everyone responds, client sends a new request
c1

Attributes

Companion
object
Source
MillRpcRequestId.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Attributes

Companion
class
Source
MillRpcRequestId.scala
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
trait MillRpcServer[Initialize, ClientToServer <: MillRpcMessage, ServerToClient <: MillRpcMessage]()

Attributes

Companion
object
Source
MillRpcServer.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
trait MillRpcServerImpl[Initialize, ClientToServer, ServerToClient]
object MillRpcServer

Attributes

Companion
trait
Source
MillRpcServer.scala
Supertypes
class Object
trait Matchable
class Any
Self type
trait MillRpcServerImpl[Initialize, ClientToServer <: MillRpcMessage, ServerToClient <: MillRpcMessage](serverName: String, wireTransport: MillRpcWireTransport, writeToLocalLog: String => Unit)(using evidence$1: Reader[Initialize], evidence$2: Reader[ClientToServer], evidence$3: Writer[ServerToClient]) extends MillRpcServer[Initialize, ClientToServer, ServerToClient]

Default implementation for the MillRpcServer.

Default implementation for the MillRpcServer.

Attributes

Source
MillRpcServer.scala
Supertypes
trait MillRpcServer[Initialize, ClientToServer, ServerToClient]
class Object
trait Matchable
class Any
enum MillRpcServerToClient[+Data]

Protocol messages that are sent from server to the client.

Protocol messages that are sent from server to the client.

Attributes

Source
MillRpcServerToClient.scala
Supertypes
trait Enum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
trait MillRpcWireTransport extends AutoCloseable

Attributes

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

Attributes

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

Messages for simulating a simple console via RPC.

Messages for simulating a simple console via RPC.

Attributes

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

Attributes

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

Logs messages by sending them from the server to the client via an RPC.

Logs messages by sending them from the server to the client via an RPC.

Attributes

Source
RpcLogger.scala
Supertypes
class Object
trait Matchable
class Any
Self type
RpcLogger.type
case class RpcStackTraceElement(classLoaderName: String, moduleName: String, moduleVersion: String, declaringClass: String, methodName: String, fileName: String, lineNumber: Int)

Attributes

Companion
object
Source
RpcThrowable.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Attributes

Companion
class
Source
RpcThrowable.scala
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
case class RpcThrowable(className: String, message: Option[String], stacktrace: Vector[RpcStackTraceElement], cause: Option[RpcThrowable]) extends RuntimeException, NoStackTrace

Serialized Throwable.

Serialized Throwable.

Attributes

Companion
object
Source
RpcThrowable.scala
Supertypes
trait Product
trait Equals
trait NoStackTrace
class RuntimeException
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all
object RpcThrowable

Attributes

Companion
class
Source
RpcThrowable.scala
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type