Documentation generator: JsDoc Toolkit 2.4.0
Template: Codeview 1.2
Generated on: 2016-0-4 21:22

Class enchant.telepathy.TelepathySense

Object for sending and receiving telepathy.

Class Summary
Constructor Attributes Constructor Name and Description
 
Field Summary
Field Attributes Field Name and Description
 
Object which stores channelers.
 
Object which stores EventSource.
 
The telepathy object which received lastly.
 
URL of the receive API.
 
URL of the send API.

Method Summary

Method Attributes Method Name and Description
 
addChanneler(channel, target)
Adds objet as telepathy channeler.
 
close(channel)
Ends to receive the telepathy.
 
Closes all telepathy channels.
 
Finalizes TelepathySense.
 
open(channel)
Begins to receive the telepathy.
 
removeChanneler(channel, target)
Removes objet from telepathy channeler.
 
send(channel, message)
Sends the telepathy.
Methods borrowed from class enchant.EventTarget:
addEventListener
clearEventListener
dispatchEvent
on
removeEventListener

Class Detail

enchant.telepathy.TelepathySense()

Field Detail

{Object} channelers
Object which stores channelers.
{Object} eventSources
Object which stores EventSource.
{enchant.telepathy.Telepathy} lastTelepathy
The telepathy object which received lastly.
{String} recvAPI
URL of the receive API.
{String} sendAPI
URL of the send API.

Method Detail

  • addChanneler(channel, target)
    Adds objet as telepathy channeler.
    Parameters:
    {String} channel
    target channel.
    {enchant.EventTarget} target
    target object.
  • close(channel)
    Ends to receive the telepathy.
    Parameters:
    {String} channel
    target channel.
  • closeAll()
    Closes all telepathy channels.
  • finalize()
    Finalizes TelepathySense.
  • open(channel)
    Begins to receive the telepathy.
    Parameters:
    {String} channel
    target channel.
  • removeChanneler(channel, target)
    Removes objet from telepathy channeler.
    Parameters:
    {String} channel
    target channel.
    {enchant.EventTarget} target
    target object.
  • send(channel, message)
    Sends the telepathy.
    Parameters:
    {String} channel
    target channel.
    {*} message
    data to send.