Javascript Message

From Yate Documentation
Revision as of 15:25, 24 July 2014 by Paulc (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Yate Message object

Constructor

  • new Message(name)

Where:

  • name - Name of the message to create (mandatory)

Static Methods

  • Message.install()


  • Message.uninstall()


  • Message.handlers()
  • Message.handlers(match)

Parameters:
match - Optional string or RegExp used to match only some handler names
Return:
Array of objects describing installed handlers, null if no handler matches.

  • name - String name of the handled messages
  • priority - Integer priority of the installed handler
  • handler - String name of the handling function
  • filterName - String name of the filtering parameter (only if a filter is installed)
  • filterValue - String value of the filtering parameter (only if a filter is installed)
  • trackName - String name of the handler used in tracking (only if not empty)


  • Message.installHook()


  • Message.uninstallHook()


  • Message.trackName()


Methods

  • enqueue()


  • dispatch()


  • name()


  • broadcast()


  • retValue()


  • msgTime()


  • getColumn()


  • getRow()


  • getResult()
Personal tools
Namespaces

Variants
Actions
Preface
Configuration
Administrators
Developers