class Celluloid::Mailbox

Public Class Methods

_load(string) click to toggle source

Create a mailbox proxy object which routes messages over DCell’s overlay network and back to the original mailbox

# File lib/dcell/celluloid_ext.rb, line 69
def self._load(string)
  DCell::MailboxProxy._load(string)
end

Public Instance Methods

_dump(level) click to toggle source

This custom dumper registers actors with the DCell registry so they can be reached remotely.

# File lib/dcell/celluloid_ext.rb, line 62
def _dump(level)
  DCell::Router.register self
  address
end
address() click to toggle source
# File lib/dcell/celluloid_ext.rb, line 56
def address
  "#{@address}@#{DCell.id}"
end