UNPKG

node-ral-huskar

Version:
46 lines (36 loc) 854 B
/** * @file node-ral * @author hefangshi@baidu.com * http://fis.baidu.com/ * 2014/8/4 */ 'use strict'; // var logger = require('./logger.js')('Converter'); var RalModule = require('./ralmodule.js'); var util = require('util'); function Converter() { RalModule.call(this); } util.inherits(Converter, RalModule); /** * pack data to stream * * @param {Object} config [description] * @param {Object} data [description] */ Converter.prototype.pack = function (config, data) { throw new Error('Not Implemented'); }; /** * unpack stream to data * * @param {Object} config [description] */ Converter.prototype.unpack = function (config) { throw new Error('Not Implemented'); }; Converter.prototype.getCategory = function () { return 'converter'; }; Converter.prototype.isStreamify = false; module.exports = Converter;