 
         @executionCallbacks[requestId] = onResults
 
-        @signedSend message, @shellSocket
+        @shellSocket.send new jmp.Message message
 
     execute: (code, onResults) ->
         requestId = "execute_" + uuid.v4()


        @executionCallbacks[requestId] = onResults

        @signedSend message, @shellSocket


    inspect: (code, cursor_pos, onResults) ->

    interrupt: ->
        console.log "sending SIGINT"
        @kernelProcess.kill('SIGINT')

    # onResults is a callback that may be called multiple times
    # as results come in from the kernel
