Adobe COLDFUSION 9 Manual page 1293

Developing applications
Hide thumbs Also See for COLDFUSION 9:
Table of Contents

Advertisement

DEVELOPING COLDFUSION 9 APPLICATIONS
Using External Resources
Method
getBuddyInfo
getBuddyList
removeBuddy
Gateway permission management methods
The IM gateways can manage the information that other users can get about the gateway's online status.
Note: XMPP permission management is included in the XMPP 1.0 specification, but several XMPP servers that were
available at the time of the ColdFusion release do not support permission management.
The following table describes the gateway permission management methods:
Method
addDeny
addPermit
getDenyList
getPermitList
getPermitMode
removeDeny
removePermit
setPermitMode
GatewayHelper example
This example lets you use the XMPP or SameTime GatewayHelper class to get and set status and other information,
including managing buddy lists and view permissions lists.
Description
Gets information about the specified user from the buddy list, deny list, and permit list.
Returns the gateway's buddy list.
Removes the specified user name from the gateway's buddy list and tells the IM server to stop
sending the gateway messages with the user's online state.
Description
Tells the IM server to add the specified user to the gateway's deny list. If the
DENY_SOME, these users cannot receive messages on the gateway's state.
Tells the IM server to add the specified user to the server's permit list. If the
PERMIT_SOME, these users receive messages on the gateway's state.
Returns the list of users that the server has been told not to send state information to.
Returns the list of users that the server has been told to send state information to.
Gets the gateway's permit mode from the IM server. The permit mode determines whether all users
can get the gateway's online state information, or whether the server uses a permit list or a deny list
to control which users get state information.
Removes the user from the gateway's deny list.
Removes the user from the gateway's permit list.
Sets the gateway's permit mode on the IM server.
Last updated 8/5/2010
1288
permitMode
is
permitMode
is

Advertisement

Table of Contents
loading

Table of Contents