RpcEndpoint

automorph.RpcEndpoint
See theRpcEndpoint companion class
object RpcEndpoint

Attributes

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

Members list

Type members

Classlikes

RPC endpoint builder.

RPC endpoint builder.

Type parameters

Adapter

transport layer transport type

Context

RPC message context type

Effect

effect type

Value parameters

transport

server integration plugin

Attributes

Constructor

Creates a new RPC endpoint 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, Adapter](transport: EndpointTransport[Effect, Context, Adapter], rpcProtocol: RpcProtocol[Node, Codec, Context]): RpcEndpoint[Node, Codec, Effect, Context, Adapter]

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

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

Type parameters

Adapter

transport layer transport type

Codec

message codec plugin type

Context

RPC message context type

Effect

effect type

Node

message node type

Value parameters

rpcProtocol

RPC protocol plugin

transport

endpoint transport layer 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

Adapter

transport layer transport type

Context

RPC message context type

Effect

effect type

Value parameters

transport

transport protocol server plugin

Attributes

Returns

RPC client builder