Module: Wamp::Worker::Handler

Defined in:
lib/wamp/worker/handler.rb

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.included(base) ⇒ Object



82
83
84
85
86
# File 'lib/wamp/worker/handler.rb', line 82

def self.included(base)
  base.class_eval do
    include BaseHandler
  end
end

Instance Method Details

#invoke(method) ⇒ Object

Method that invokes the handler



97
98
99
# File 'lib/wamp/worker/handler.rb', line 97

def invoke(method)
  self.send(method)
end

#sessionWamp::Client::Session, Wamp::Worker::Proxy::Requestor

Returns the session for the call

Returns:



91
92
93
# File 'lib/wamp/worker/handler.rb', line 91

def session
  self.proxy.session
end