Sha256: e1efe4b9f2f4180465a1ff50d64a77bb32245d378d81d4e0afc1f332ef2187d4

Contents?: true

Size: 488 Bytes

Versions: 11

Compression:

Stored size: 488 Bytes

Contents

module ASIR
  class Transport
    # !SLIDE
    # Local Transport
    #
    # Send Message to same process.
    # Requires Identity Coder.
    class Local < self
      # Capture Result object after invoking Message.
      def _send_message state
        invoke_message!(state)
        self
      end

      # Result object was captured in #_send_message.
      def _receive_result state
        state.result_payload = state.result
        self
      end
    end
    # !SLIDE END
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
asir-1.2.11 lib/asir/transport/local.rb
asir-1.2.10 lib/asir/transport/local.rb
asir-1.2.9 lib/asir/transport/local.rb
asir-1.2.8 lib/asir/transport/local.rb
asir-1.2.7 lib/asir/transport/local.rb
asir-1.2.6 lib/asir/transport/local.rb
asir-1.2.5 lib/asir/transport/local.rb
asir-1.2.3 lib/asir/transport/local.rb
asir-1.2.2 lib/asir/transport/local.rb
asir-1.2.1 lib/asir/transport/local.rb
asir-1.2.0 lib/asir/transport/local.rb