class DCell::RPBC

Public Class Methods

new(id, block_proxy, sender, arguments) click to toggle source
# File lib/dcell/rpc.rb, line 17
def initialize(id, block_proxy, sender, arguments)
  @id, @block_proxy, @sender, @arguments = id, block_proxy, sender, arguments
end

Public Instance Methods

_dump(level) click to toggle source

Custom marshaller for compatibility with Celluloid::Mailbox marshalling

# File lib/dcell/rpc.rb, line 22
def _dump(level)
  payload = Marshal.dump [@block_proxy, @sender, @arguments]
  "#{@id}:rpbc:#{payload}"
end