Class: Rapid::Services::HandlerSet

Inherits:
Object
  • Object
show all
Extended by:
Forwardable
Defined in:
lib/ury_rapid/services/handler_set.rb

Overview

Base class for service classes that manage a set of handlers

A handler is a class that provides some function in handling service requests or responses, from server and playout system actions respectively.

NOTE: Subclasses must define the constant HANDLER_MODULE, as well as a

function #log which takes a severity symbol and string and logs it.

Instance Method Summary collapse

Constructor Details

#initializeHandlerSet

Returns a new instance of HandlerSet


14
15
16
17
# File 'lib/ury_rapid/services/handler_set.rb', line 14

def initialize
  @handlers = {}
  populate(handler_classes)
end