User Guide

IM Gateway CFC incoming message methods 1005
IM Gateway CFC incoming message methods
You write the following CFC methods to handle incoming messages from an XMPP or Lotus
Sametime instant messaging gateway.
Note: The method names assume a default gateway configuration. ColdFusion lets you change the
method names and disable event types in the gateway configuration file.
Method Message type
onAddBuddyRequest Requests from other IM users to add the gateway ID as their buddy
onAddBuddyResponse Responses from others to requests from your gateway to add them to your
buddy lists. Also used by buddies to ask to be removed from your list.
onBuddyStatus Online status information messages
onIMServerMessage Error and administrative messages from the IM server
onIncomingMessage Instant messages