IOTConnect-Web/node_modules/mqtt/build/lib/topic-alias-send.d.ts

14 lines
382 B
TypeScript
Raw Normal View History

2024-05-09 01:49:52 +00:00
export default class TopicAliasSend {
private aliasToTopic;
private topicToAlias;
private max;
private numberAllocator;
length: number;
constructor(max: number);
put(topic: string, alias: number): boolean;
getTopicByAlias(alias: number): string;
getAliasByTopic(topic: string): number | undefined;
clear(): void;
getLruAlias(): number;
}