Jack Hansdampf / mbed-mqtt-GSOE1

Dependents:   ESP8266MQTT

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers TestTopicIdMap.h Source File

TestTopicIdMap.h

00001 /**************************************************************************************
00002  * Copyright (c) 2016, Tomoaki Yamaguchi
00003  *
00004  * All rights reserved. This program and the accompanying materials
00005  * are made available under the terms of the Eclipse Public License v1.0
00006  * and Eclipse Distribution License v1.0 which accompany this distribution.
00007  *
00008  * The Eclipse Public License is available at
00009  *    http://www.eclipse.org/legal/epl-v10.html
00010  * and the Eclipse Distribution License is available at
00011  *   http://www.eclipse.org/org/documents/edl-v10.php.
00012  *
00013  * Contributors:
00014  *    Tomoaki Yamaguchi - initial API and implementation 
00015  **************************************************************************************/
00016 #ifndef MQTTSNGATEWAY_SRC_TESTS_TESTTOPICIDMAP_H_
00017 #define MQTTSNGATEWAY_SRC_TESTS_TESTTOPICIDMAP_H_
00018 
00019 #include "MQTTSNGWClient.h"
00020 
00021 class TestTopicIdMap
00022 {
00023 public:
00024     TestTopicIdMap();
00025     ~TestTopicIdMap();
00026     void test(void);
00027     bool testGetElement(uint16_t msgid, uint16_t id, MQTTSN_topicTypes type);
00028 
00029 private:
00030     TopicIdMap* _map;
00031 };
00032 
00033 #endif /* MQTTSNGATEWAY_SRC_TESTS_TESTTOPICIDMAP_H_ */