automorph
Members list
Packages
Type members
Classlikes
Default component constructors.
Default component constructors.
Attributes
- Supertypes
-
class Objecttrait Matchableclass 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
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
Attributes
- Companion
- class
- Supertypes
- Self type
-
RpcEndpoint.type
RPC exception.
RPC exception.
Value parameters
- cause
-
error cause
- message
-
error message
Attributes
- Companion
- object
- Supertypes
-
class RuntimeExceptionclass Exceptionclass Throwabletrait Serializableclass Objecttrait Matchableclass AnyShow all
- Known subtypes
-
class ApplicationErrorclass FunctionNotFoundclass InvalidArgumentsclass InvalidRequestclass InvalidResponseclass ServerErrorShow all
Attributes
- Companion
- class
- Supertypes
- Self type
-
RpcException.type
Attributes
- Companion
- class
- Supertypes
- Self type
-
RpcFunction.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
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