User Guide

Table Of Contents
Configuring an IM event gateway 1051
Note: If you do not have a CFC method to handle any of the event types, you must specify the
corresponding property without a value. Use the following entry in the configuration file, for example,
if you do not have a method to handle IMServerMessage events:
onIMServerMessageFunction=
securerequirement false XMPP only.
Specifies whether the gateway must use secure
communications. The following values are valid:
true
false
If this value is true, you must specify a
secureprotocol
value, and connections succeed only if a secure
connection is established.
serverip XMPP: jabber.org
Sametime:
stdemo3.dfw.ibm.
com
Address of XMPP or Lotus Sametime server to which
to send messages. Can be a server name or IP
address.
serverport XMPP: 5222
Sametime:1533
Port on the server to which to send the messages.
If the XMPP
secureprotocol parameter is set to SSL,
speechify 5223.
retries -1 Integer number of times to retry connecting to the IM
server on gateway startup or if the Gateway gets
disconnected.
0 = do not to retry
-1 = try forever
retryinterval 5 Real number of seconds to wait between connection
attempts. The minimum is 1 second.
onIncomingMessage
Function
onIncomingMessage Name of CFC method to call to handle an incoming
message. If you specify the property without a value,
such as “onIncomingMessageFunction=”, the
gateway does not send this event to a CFC.
onAddBuddy
RequestFunction
onAddBuddy
Request
Name of CFC method to call to handle an incoming
buddy request. If you specify the property without a
value, the gateway does not send this event to a CFC.
onAddBuddy
ResponseFunction
onAddBuddy
Response
Name of CFC method to call to handle an incoming
response to a buddy request sent by ColdFusion. If
you specify the property without a value, the gateway
does not send this event to a CFC.
onBuddyStatus
Function
onBuddyStatus Name of CFC method to call to handle an incoming
buddy status message, such as If you specify the
property without a value, the gateway does not send
this event to a CFC.
onIMServerMessage
Function
onIMServerMessage Name of CFC method to call to handle an incoming
message method. If you specify the property without a
value, the gateway does not send this event to a CFC.
Property Default value Description