• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 32. Integrating with SMS and IM > Extending Your Application Even Furth...

Extending Your Application Even Further

By now you will have noticed that both the IM and SMS interfaces are very similar in their approach to sending and receiving messages. They share an almost identical message send and receive structure, the only real difference is the source/destination address. Thus it should be relatively straightforward to build a gateway CFC that handles both IM and SMS messages, in fact it is only the onIncomingMessage() method that you will need to modify to get this to work. Let's stem through what is needed to get this to work.

For starters, let's reproduce our simple “echo” method.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint