2014-02-27 22:44:53 +08:00
|
|
|
/*
|
|
|
|
* Loopback adaptor
|
|
|
|
* cylonjs.com
|
|
|
|
*
|
|
|
|
* Copyright (c) 2013-2014 The Hybrid Group
|
|
|
|
* Licensed under the Apache 2.0 license.
|
|
|
|
*/
|
|
|
|
|
|
|
|
"use strict";
|
|
|
|
|
2014-06-06 03:11:37 +08:00
|
|
|
var Adaptor = require('../adaptor'),
|
|
|
|
Utils = require('../utils');
|
2014-05-07 09:18:20 +08:00
|
|
|
|
2014-05-07 09:56:13 +08:00
|
|
|
var Loopback;
|
2014-02-27 22:44:53 +08:00
|
|
|
|
2014-05-07 09:56:13 +08:00
|
|
|
module.exports = Loopback = function Loopback() {
|
|
|
|
Loopback.__super__.constructor.apply(this, arguments);
|
2014-06-11 03:29:44 +08:00
|
|
|
this.commands = ['ping'];
|
2014-05-07 09:56:13 +08:00
|
|
|
};
|
2014-02-27 22:44:53 +08:00
|
|
|
|
2014-06-06 03:11:37 +08:00
|
|
|
Utils.subclass(Loopback, Adaptor);
|
2014-02-27 22:44:53 +08:00
|
|
|
|
2014-05-07 09:56:13 +08:00
|
|
|
Loopback.adaptor = function(opts) { return new Loopback(opts); };
|