Class Index | File Index

Classes


Class ConnectionManager

This class allows handles authentication, connections & notifications between client and server
Defined in: ConnectionManager.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
Field Summary
Field Attributes Field Name and Description
 
Event fired on login failed
 
Event fired on login succes
Method Summary
Method Attributes Method Name and Description
 
Returns where user is currently in call or not
 
locateAndLogin(loginid, password, optionalParams, validSession, silentPair)
 
sendZebra(zebra, handlerScopeObject, responseZebraHandler, async, params)
Send a zebra to server
Class Detail
ConnectionManager()
Field Detail
{object} Event_LOGIN_FAILED
Event fired on login failed

{object} Event_LOGIN_SUCCESS
Event fired on login succes
Method Detail
{boolean} inCall()
Returns where user is currently in call or not
Returns:
{boolean} Whether in call or not.

locateAndLogin(loginid, password, optionalParams, validSession, silentPair)
Parameters:
{String} loginid
{String} password
{String} optionalParams
{String} validSession
{String} silentPair

sendZebra(zebra, handlerScopeObject, responseZebraHandler, async, params)
Send a zebra to server
Parameters:
{object} zebra
Zebra object to send.
{object} handlerScopeObject
(Optional) Handler scope object
{object} responseZebraHandler
Reponse handler for zebra request.
{boolean} async
Whether request is async or sync.
{object} params
Extra params to be passed.
Returns:
null

Documentation generated by JsDoc Toolkit 2.4.0 on Mon Mar 10 2014 21:20:18 GMT-0000 (GMT)