Module: Wamp::Worker::BaseHandler::ClassMethods
- Defined in:
- lib/wamp/worker/handler.rb
Instance Method Summary collapse
-
#create(proxy, command, args, kwargs, details) ⇒ Object
Instantiates the object.
-
#register(procedure, method, name: nil, **options) ⇒ Object
Register the handler for a procedure.
-
#subscribe(topic, method, name: nil, **options) ⇒ Object
Subscribe the handler to a topic.
Instance Method Details
#create(proxy, command, args, kwargs, details) ⇒ Object
Instantiates the object
19 20 21 22 23 |
# File 'lib/wamp/worker/handler.rb', line 19 def create(proxy, command, args, kwargs, details) handler = self.new handler.configure(proxy, command, args, kwargs, details) handler end |