xiot-core-message-ts
Version:
19 lines (18 loc) • 461 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
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;