~jameinel/juju-core/reflect-registry

Viewing all changes in revision 2726.

  • Committer: John Arbash Meinel
  • Date: 2014-05-11 08:43:16 UTC
  • Revision ID: john@arbash-meinel.com-20140511084316-0uyhgvipldxwy979
Move the code into its own dir, since it isn't really related to rpcreflect anymore.
We use a couple of the functions, and some of MethodCaller is private that we want to
set, so we exposed it as a public function instead of a private one.
Arguably CallNotImplementedError should be in 'common' and shared into
both of them.
MethodCaller as a type could be just shared, but MethodCallerFromValue uses ObjTypeOf, and
thus does depend on 'rpcreflect'. (so rpcreflect couldn't import it from somewhere else, as
it has to call back into rpcreflect.)

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: