HandlerBinding
automorph.handler.HandlerBinding
final case class HandlerBinding[Node, Effect[_], Context](function: RpcFunction, argumentDecoders: Map[String, Option[Node] => Any], encodeResult: Any => (Node, Option[Context]), call: (Seq[Any], Context) => Any, acceptsContext: Boolean)
RPC handler remote API function binding.
Note: Consider this class to be private and do not use it. It remains public only due to Scala 2 macro limitations.
Type parameters
- Context
-
RPC message context type
- Effect
-
effect type
- Node
-
message node type
Value parameters
- acceptsContext
-
true if the method accepts request context as its last parameter, false otherwise
- argumentDecoders
-
map of method parameter names to argument decoding functions
- call
-
calls bound function
- encodeResult
-
encodes bound function result
- function
-
bound function descriptor
Attributes
- Graph
-
- Supertypes
Members list
In this article