Method: OnStomp::Interfaces::ClientConfigurable::ClassMethods#attr_configurable_processor

Defined in:
lib/onstomp/interfaces/client_configurable.rb

#attr_configurable_processor(nm) ⇒ Object

Creates a readable and writeable attribute with the given name that defaults to the Components::ThreadedProcessor. Corresponds the the class to use when create new processor instances when a client is connected.

Parameters:

  • nm (Symbol)

    name of attribute



47
48
49
# File 'lib/onstomp/interfaces/client_configurable.rb', line 47

def attr_configurable_processor nm
  attr_configurable_class(nm, :default => OnStomp::Components::ThreadedProcessor)
end