Behaviours: riak_api_pb_service.
The PB service for cluster health messages. This covers the following request messages in the original protocol:
1 - RpbPingReq
7 - RpbGetServerInfoReq
This service produces the following responses:
2 - RpbPingResp
8 - RpbGetServerInfoResp
The semantics are unchanged from their original implementations.
| decode/2 | decode/2 callback. |
| encode/1 | encode/1 callback. |
| init/0 | init/0 callback. |
| process/2 | process/2 callback. |
| process_stream/3 | process_stream/3 callback. |
decode(Code, Bin) -> any()
decode/2 callback. Decodes an incoming message.
encode(Message) -> any()
encode/1 callback. Encodes an outgoing response message.
init() -> undefined
init/0 callback. Returns the service internal start state. This service has no state.
process(X1, State) -> any()
process/2 callback. Handles an incoming request message.
process_stream(X1, X2, State) -> any()
process_stream/3 callback. Handles a streaming message received by the server on behalf of the service. This service implements no streaming responses, so all messages are ignored.
Generated by EDoc