Handle the protocol messages #6

Open
3rd-Eden opened this Issue Feb 25, 2012 · 0 comments

Comments

Projects
None yet
1 participant
Owner

3rd-Eden commented Feb 25, 2012

The protocol handler emit's message events, these needs to be handled and executed. Every message based event should be emitted to RED RED#emit. Blacklisted event and those who start with the this.namespace should be ignored. The blacklisted events would initially include ['error']

  • message -> emit the message event
  • codec -> emit the message event
  • event -> emit the event.name event with the arguments

The rest of the event should be handled by RED.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment