Difference between revisions of "Instant Messaging Device Template"

From LinuxMCE
Jump to: navigation, search
 
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 ==
Line 18: Line 22:
  
 
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]]
 

Latest revision as of 03: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.