My Project
 All Classes Functions Properties
MQTTMessage.h
1 /*******************************************************************************
2  * Copyright 2013 ClearBlade, Inc
3  * All rights reserved. This program and the accompanying materials
4  * are made available under the terms of the Eclipse Public License v1.0
5  * which accompanies this distribution, and is available at
6  * http://www.eclipse.org/legal/epl-v10.html
7  *
8  * Any redistribution of this program in any form must include this copyright
9  *******************************************************************************/
10 
11 #import <Foundation/Foundation.h>
12 
13 @interface MQTTMessage : NSObject
14 {
15  unsigned short mid;
16  NSString *topic;
17  NSString *payload;
18  unsigned short payloadlen;
19  unsigned short qos;
20  BOOL retained;
21 }
22 
26 @property (readwrite, assign) unsigned short mid;
30 @property (readwrite, retain) NSString *topic;
34 @property (readwrite, retain) NSString *payload;
38 @property (readwrite, assign) unsigned short payloadlen;
42 @property (readwrite, assign) unsigned short qos;
46 @property (readwrite, assign) BOOL retained;
51 -(id)init;
52 
53 @end
unsigned short payloadlen
Definition: MQTTMessage.h:18
NSString * payload
Definition: MQTTMessage.h:17
Definition: MQTTMessage.h:13
BOOL retained
Definition: MQTTMessage.h:20
unsigned short qos
Definition: MQTTMessage.h:19
unsigned short mid
Definition: MQTTMessage.h:15
NSString * topic
Definition: MQTTMessage.h:16