Sha256: 8eeb41cd16383e4b73da11bb62112db6e768e3688af2f39d391d2bfa5aa658c6

Contents?: true

Size: 490 Bytes

Versions: 4

Compression:

Stored size: 490 Bytes

Contents

service :dlink do
  global %{
    //Static from the dlink module itself, this is a sister service
    function dlink_notify_handler(url, params) {
      //Notify all view controllers
      var cbps = Object.keys(dlink_sessions);
      var einfo = {url: url, params: params};
      for (var i = 0; i < cbps.length; ++i) {
        int_event_defer(parseInt(cbps[i]), "dlink_req", einfo);
      }
    }
  }

  on_wakeup %{
 }

  on_sleep %{
  }

  on_connect %{
  }

  on_disconnect %{
  }
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
flok-0.0.105 app/kern/services/dlink.rb
flok-0.0.103 app/kern/services/dlink.rb
flok-0.0.102 app/kern/services/dlink.rb
flok-0.0.101 app/kern/services/dlink.rb