RpcServer

automorph.RpcServer$
See theRpcServer companion class
object RpcServer

Attributes

Companion
class
Graph
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
RpcServer.type

Members list

Type members

Classlikes

RPC server builder.

RPC server builder.

Type parameters

Context

RPC message context type

Effect

effect type

Value parameters

transport

server transport protocol plugin

Attributes

Constructor

Creates a new RPC server builder.

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Inherited types

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror

The name of the type

The name of the type

Attributes

Inherited from:
Mirror

Value members

Concrete methods

def apply[Node, Codec <: MessageCodec[Node], Effect[_], Context](transport: ServerTransport[Effect, Context], protocol: RpcProtocol[Node, Codec, Context]): RpcServer[Node, Codec, Effect, Context]

Creates an RPC server with specified protocol and transport plugins supporting corresponding message context type.

Creates an RPC server with specified protocol and transport plugins supporting corresponding message context type.

Type parameters

Codec

message codec plugin type

Context

RPC message context type

Effect

effect type

Node

message node type

Value parameters

protocol

RPC protocol plugin

transport

server transport protocol plugin

Attributes

Returns

RPC server

Creates an RPC client builder with specified effect transport plugin.

Creates an RPC client builder with specified effect transport plugin.

Type parameters

Context

RPC message context type

Effect

effect type

Value parameters

transport

transport protocol plugin

Attributes

Returns

RPC client builder