     return rtPingInterval
 
 registerFlowhubRuntime = (rt, callback) ->
+    return if not rt
+
     rt.register callback
     return
 

    return

createFlowhubRuntime = (user, ip, port, label, id, apihost) ->
    # Unique identifier of the runtime instance
    id = id or uuid.v4()
    label = label or "MicroFlo"

    uuid = require("node-uuid")
    EventEmitter = require('events').EventEmitter;

try
  flowhub = require("flowhub-registry")
catch e
  #

commandstream = require("./commandstream")
generate = require("./generate")
c = require("./componentlib")
