As far as I know, there is no transport protocol for sending actual Clojure values through wiring. What you can do is start the local nREPL server, connect to the remote instance and read / evaluate the response values locally. It should be pretty simple when you are just trying to copy master data from one side to the other. Check the nREPL documentation on how to connect to the server programmatically .
Directly copying things like the state of a java object is actually impossible. You can work around this by creating a new object based on input received from a remote computer, provided that you have a local copy of the source code. The same applies to rendering graphics, obtaining state as data from the remote control, and using it locally to start rendering.
Hope this helps!
source share