Descriptionrpc: refactor
This is a significant refactoring. I'm afraid I couldn't
see how to do it in small steps.
Changes include:
- factoring out of the websocket-specific RPC logic
from state/apiserver into rpc/jsoncodec.
- as a result, the rpc tests are now testing the same
codec as used in state/apiserver.
- the shutdown logic is hopefully cleaner and clearer.
- and most importantly, rpc connections are now
fully symmetric - the server can now make requests
to the client.
https://code.launchpad.net/~rogpeppe/juju-core/300-rpc-refactor/+merge/163705
(do not edit description out of merge proposal)
Patch Set 1 #Patch Set 2 : rpc: refactor #Patch Set 3 : rpc: refactor #Patch Set 4 : rpc: refactor #
Total comments: 20
Patch Set 5 : rpc: refactor #
Total comments: 7
Patch Set 6 : rpc: refactor #
MessagesTotal messages: 5
|