Bus::Handler
Inherits Reference < Object
Constructors
Instance methods
authorized_to_handle?(msg)
Override this if only certain users should be authorized to have access to the given handler.
bus
Sourcecan_handle?(msg)
This should probably be overridden in subclasses so that they can make informed decisions about whether or not they can handle the message.
handle(msg : Bus::Message)
Sourcelisten
Sourcerun
Sourcewill_handle?(msg)
This method determines if the handler will handle the message. It
checks #can_handle? to see if the handler is able to handle the
message, and #authorized_to_handle? to see if the handler has
permission to handle the message.