Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
MQTTSNGWQoSm1Proxy.h
00001 /************************************************************************************** 00002 * Copyright (c) 2018, 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 and/or initial documentation 00015 **************************************************************************************/ 00016 00017 #ifndef MQTTSNGATEWAY_SRC_MQTTSNGWQOSM1PROXY_H_ 00018 #define MQTTSNGATEWAY_SRC_MQTTSNGWQOSM1PROXY_H_ 00019 00020 #include "MQTTSNGWAdapter.h" 00021 namespace MQTTSNGW 00022 { 00023 class Gateway; 00024 class Adapter; 00025 class Client; 00026 class SensorNetAddress; 00027 class MQTTSNPacket; 00028 00029 /*===================================== 00030 Class QoSm1Proxy 00031 =====================================*/ 00032 class QoSm1Proxy : public Adapter 00033 { 00034 public: 00035 QoSm1Proxy(Gateway* gw); 00036 ~QoSm1Proxy(void); 00037 00038 void initialize(void); 00039 bool isActive(void); 00040 00041 private: 00042 Gateway* _gateway; 00043 00044 bool _isActive {false}; 00045 bool _isSecure {false}; 00046 }; 00047 00048 00049 } 00050 00051 00052 00053 #endif /* MQTTSNGATEWAY_SRC_MQTTSNGWQOSM1PROXY_H_ */
Generated on Wed Jul 13 2022 10:46:03 by
1.7.2