User Guide

Table Of Contents
Using the GatewayHelper object 1059
Gateway configuration information and statistics methods
The following table describes the methods that you can use to get and set configuration
information and get gateway statistics:
Gateway online status methods
The following table describes the methods that you can use to get and set the gateway’s online
availability status (presence information):
Gateway buddy management methods
The following table describes the methods that you can use to manage the gateway’s buddy list:
Method Description
getName Returns the gateway’s user name.
getNickName Returns the gateway’s display name (nickname).
getProtocolName Returns the name of the instant messaging protocol (JABBER for
XMPP, or SAMETIME).
numberOfMessagesReceived Returns the number of messages received by the gateway since it was
started.
numberOfMessagesSent Returns the number of messages sent by the gateway since it was
started.
setNickName Sets the gateway’s display name (nickname).
Method Description
getCustomAwayMessage Returns the gateway’s custom away message if it has been set by the
setStatus method.
getStatusAsString Returns the online status of the gateway.
getStatusTimeStamp Returns the date/time that the gateway changed its online status.
isOnline Returns True if the gateway is connected to the IM server; otherwise,
returns false.
setStatus Changes the gateway’s online status; for example, to away or idle.
Method Description
addBuddy Adds a buddy to the gateway’s buddy list and tells the IM server to send
the gateway messages with the buddy’s online state.
getBuddyInfo Gets information about the specified user from the buddy list, deny list,
and permit list.
getBuddyList Returns the gateway’s buddy list.
removeBuddy 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.