Getting notification when the device goes online

You can register a callback function to be invoked when the device goes online using the onOnline() function.

Method summary



  • returns – None
  • params
    • Name of the callback function that gets invoked when the device goes online.

For instance,

<cfset cfclient.connection.onOnline(ononlinecallback)>

<cffunction name="'ononlinecallback'" >
<!--- Code to be executed when device goes online -à

This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License  Twitter™ and Facebook posts are not covered under the terms of Creative Commons.

Legal Notices   |   Online Privacy Policy