Jump to content

Instant Messaging Device Template: Difference between revisions

From LinuxMCE
Initial Content for the IM Device
 
Mcefan (talk | contribs)
No edit summary
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
[[Category:software]]
The Instant Messaging Device is very much like the [[Instant Messaging Template]]. It in fact carries the same commands:
The Instant Messaging Device is very much like the [[Instant Messaging Template]]. It in fact carries the same commands:


Line 8: Line 10:
* IM Message Recieved
* IM Message Recieved
* IM Presence Changed
* IM Presence Changed
{{p}}


== Implementation in the Local House Messaging Device ==
== Implementation in the Local House Messaging Device ==

Latest revision as of 02:30, 20 October 2012


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.