def send_message(event_name, message, options={})
      options.merge! :connection => connection, :data => message
      event = Event.new( event_name, options )
      @_dispatcher.send_message event if @_dispatcher.respond_to?(:send_message)
    end
def send_message(event_name, message, options={})
      options.merge! :connection => connection, :data => message
      event = Event.new( event_name, options )
      @_dispatcher.send_message event if @_dispatcher.respond_to?(:send_message)
    end
Sends a message to the client that initiated the current event being executed. Messages
 are serialized as JSON into a two element Array where the first element is the event
 and the second element is the message that was passed, typically a Hash.

 To send an event under a namespace, add the `:namespace => :target_namespace` option.

   send_message :new_message, message_hash, :namespace => :product

 Nested namespaces can be passed as an array like the following:

   send_message :new, message_hash, :namespace => [:products,:glasses]

 See the {EventMap} documentation for more on mapping namespaced actions.