RPCHandler(vertx: Vertx!, messageSender: Consumer<Bytes!>!, terminationFn: Runnable!, objectMapper: ObjectMapper!)
Makes RPC requests over a connection
vertx
- Vertx!: The vertx instance to queue requests with
messageSender
- Consumer<Bytes!>!: sends the request to the node
terminationFn
- Runnable!: closes the connection
objectMapper
- ObjectMapper!: the objectMapper to serialize and deserialize message request and response bodies