Instant Messaging Device Template

From LinuxMCE
Revision as of 11:36, 22 January 2009 by Itsmeok (Talk | contribs)

Jump to: navigation, search

The Instant Messaging Device is very much like the Instant Messaging Template. It in fact carries the same commands:

  • Send Instant Message
  • Set Presence

But we also have a set of events which mirror these two commands.

  • IM Message Recieved
  • IM Presence Changed

Implementation in the Local House Messaging Device

The Implementation here is basically that we echo events recieved here back onto the bus.

So we create the basic template:

File:Local House Messaging Template.jpg

which defines the instant messaging commands. IM Devices had to be given a new category, so one was created. And since our Instant Messaging commands weren't in that category, we had to manually add them via the pull-down.