Difference between revisions of "Instant Messaging Device Template"

From LinuxMCE
Jump to: navigation, search
(Initial Content for the IM Device)
 
Line 18: Line 18:
  
 
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.
 
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.
 +
 +
[[Category: Tutorials]]

Revision as of 12:36, 22 January 2009

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.