Contents | Index | Previous | Next


TMasterListenerJS.Tango_masterChanged() Method

notify about master change

Synopsis

Tango_masterChanged(isMaster,masterName)

Arguments

isMaster Boolean Object. Flag indicating master status.

masterName String Object. The name of the new session master.

Returns

Nothing.

Description

TDataListenerJS.Tango_masterChanged() method is a user defined callback. It is called by the Tango runtime if TMasterListenerJS interface has been registered for receiving master updates with TAgentJS.addTDataListenerJS() method.

See Also

TAgentJS.getMasterNameJS() method