Instant Messaging Device Template
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:
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.