Class: Dizby::DeadProtocol::Server

Inherits:
AbstractServer show all
Defined in:
lib/dizby/protocols/dead.rb

Instance Attribute Summary

Attributes inherited from AbstractServer

#log

Instance Method Summary collapse

Methods inherited from AbstractServer

#alive?, #connect_to, #initialize, #shutdown, #spawn_on

Methods included from Configurable

#config_accessor, #config_reader, #config_writer

Constructor Details

This class inherits a constructor from Dizby::AbstractServer

Instance Method Details

#make_distributed(*_)

A DeadProtocol server doesn't allow backwards connections therefore, making a distributed object goes against that.


20
21
22
23
# File 'lib/dizby/protocols/dead.rb', line 20

def make_distributed(*_)
  fail DistributedError,
       'distributed objects not supported from DeadProtocol'
end