automorph

package automorph

Members list

Type members

Classlikes

object Default

Default component constructors.

Default component constructors.

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
Default.type

RPC client.

RPC client.

Used to perform type-safe remote API calls or send one-way messages.

Remote APIs can be invoked via proxy instances automatically created from specified API trait or without an API trait by supplying the required type information on invocation.

Type parameters

Codec

message codec plugin type

Context

RPC message context type

Effect

effect type

Node

message node type

Value parameters

rpcProtocol

RPC protocol plugin

transport

client transport protocol plugin

Attributes

Constructor

Creates a RPC client with specified protocol and transport plugins providing corresponding message context type.

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object RpcClient

Attributes

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

RPC endpoint.

RPC endpoint.

Used to handle remote API requests as part of an existing server and invoke bound API methods to process them.

Automatically derives remote API bindings for existing API instances.

Type parameters

Adapter

transport layer adapter type

Codec

message codec plugin type

Context

RPC message context type

Effect

effect type

Node

message node type

Value parameters

functions

bound RPC functions

handler

RPC request handler

rpcProtocol

RPC protocol plugin

transport

transport layer transport plugin

Attributes

Constructor

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

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object RpcEndpoint

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
sealed abstract class RpcException(message: String, cause: Throwable) extends RuntimeException

RPC exception.

RPC exception.

Value parameters

cause

error cause

message

error message

Attributes

Companion
object
Supertypes
class RuntimeException
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all
Known subtypes
object RpcException

Attributes

Companion
class
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type

Remote function descriptor.

Remote function descriptor.

Value parameters

documentation

documentation (Scaladoc)

name

name

parameters

parameters

resultType

result type

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object RpcFunction

Attributes

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

RPC function return type containing both the actual result and RPC response context.

RPC function return type containing both the actual result and RPC response context.

Type parameters

Context

RPC response context type

Result

RPC function result type

Value parameters

context

RPC response context

result

RPC function result

Attributes

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

RPC server.

RPC server.

Used to serve remote API requests and invoke bound API methods to process them.

Automatically derives remote API bindings for existing API instances.

Type parameters

Codec

message codec plugin type

Context

RPC message context type

Effect

effect type

Node

message node type

Value parameters

functions

bound RPC functions

handler

RPC request handler

rpcProtocol

RPC protocol plugin

transport

server transport protocol plugin

Attributes

Constructor

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

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object RpcServer

Attributes

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