UNPKG

xiot-core-xcp-ts

Version:
20 lines (19 loc) 492 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.PingCodec = void 0; const Ping_1 = require("../../../typedef/iq/basic/Ping"); class PingCodec { encodeQueryContent(query) { return null; } encodeResultContent(result) { return null; } decodeQuery(id, content) { return new Ping_1.QueryPing(id); } decodeResult(id, content) { return new Ping_1.ResultPing(id); } } exports.PingCodec = PingCodec;