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:

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).