Package org.consensusj.jsonrpc
Interface DefaultRpcClient.TransportFactory
- Enclosing class:
DefaultRpcClient
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Functional interface for creating JsonRpcTransport instances. This is used to prevent a circular
dependency on
ObjectMapper
.-
Method Summary
-
Method Details
-
create
- Parameters:
mapper
- mapper that is shared betweenDefaultRpcClient
and theJsonRpcTransport
.- Returns:
- a transport instance
-