The JavaScript EventHandler Stack

Class EventHandler

Object
   |
   +--EventHandler

class EventHandler

Defined in eh.js


Field Summary
 Object $pc
          
 Object $pcr
          
 Object $pwd
          
 Object $statusIntf
          
 Object $user
          
 
Constructor Summary
EventHandler(statusIntf, url, cfg)
           

The JavaScript EventHandler is a client protocol stack compatible with the Barracuda Embedded Web-Server EventHandler plugin.

 
Method Summary
 void addInterface(intfObj, intfName)
          
 Object buildServIntf(intf)
           buildServIntf builds the server interface object.
 void close()
           Close the persistent connection.
 void connect()
           Initiate the persistent connection sequence.
 void destructor()
           Release all resources used by the EventHandler.
 Object isConnected()
           Returns true if a persistent connection is active.
 void sendData(intf, method, data)
          

Field Detail

$pc

Object $pc

$pcr

Object $pcr

$pwd

Object $pwd

$statusIntf

Object $statusIntf

$user

Object $user

Constructor Detail

EventHandler

EventHandler(statusIntf, url, cfg)

Method Detail

addInterface

void addInterface(intfObj, intfName)

buildServIntf

Object buildServIntf(intf)

close

void close()

connect

void connect()

destructor

void destructor()

isConnected

Object isConnected()

sendData

void sendData(intf, method, data)

The JavaScript EventHandler Stack

Documentation generated by JSDoc on Wed Apr 19 11:56:29 2017