Class: CPEE::Logging::Handler
- Inherits:
-
Riddl::Implementation
- Object
- Riddl::Implementation
- CPEE::Logging::Handler
- Defined in:
- lib/cpee-logging-xes-yaml/logging.rb
Instance Method Summary collapse
Instance Method Details
#response ⇒ Object
32 33 34 35 36 37 38 39 40 41 42 43 44 45 |
# File 'lib/cpee-logging-xes-yaml/logging.rb', line 32 def response opts = @a[0] type = @p[0].value topic = @p[1].value event_name = @p[2].value payload = @p[3].value.read EM.defer do CPEE::Logging::forward opts, topic, event_name, payload end if type == 'event' EM.defer do CPEE::Logging::doc opts, topic, event_name, payload end nil end |