DDD
Dependencies: HW4 FP MQTTPacket
Fork of MQTT by
MQTTClient.cpp@8:c46930bd6c82, 2014-04-09 (annotated)
- Committer:
- icraggs
- Date:
- Wed Apr 09 13:48:20 2014 +0000
- Revision:
- 8:c46930bd6c82
- Parent:
- 7:f9d690fb6dad
- Child:
- 9:01b8cc7d94cc
Threading updates
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
icraggs | 6:4d312a49200b | 1 | /******************************************************************************* |
icraggs | 6:4d312a49200b | 2 | * Copyright (c) 2014 IBM Corp. |
sam_grove | 0:fe461e4d7afe | 3 | * |
icraggs | 6:4d312a49200b | 4 | * All rights reserved. This program and the accompanying materials |
icraggs | 6:4d312a49200b | 5 | * are made available under the terms of the Eclipse Public License v1.0 |
icraggs | 6:4d312a49200b | 6 | * and Eclipse Distribution License v1.0 which accompany this distribution. |
sam_grove | 0:fe461e4d7afe | 7 | * |
icraggs | 6:4d312a49200b | 8 | * The Eclipse Public License is available at |
icraggs | 6:4d312a49200b | 9 | * http://www.eclipse.org/legal/epl-v10.html |
icraggs | 6:4d312a49200b | 10 | * and the Eclipse Distribution License is available at |
icraggs | 6:4d312a49200b | 11 | * http://www.eclipse.org/org/documents/edl-v10.php. |
sam_grove | 0:fe461e4d7afe | 12 | * |
icraggs | 6:4d312a49200b | 13 | * Contributors: |
icraggs | 6:4d312a49200b | 14 | * Ian Craggs - initial API and implementation and/or initial documentation |
icraggs | 6:4d312a49200b | 15 | *******************************************************************************/ |
sam_grove | 0:fe461e4d7afe | 16 | |
icraggs | 2:dcfdd2abfe71 | 17 | #include "MQTTClient.h" |
icraggs | 2:dcfdd2abfe71 | 18 | #include "MQTTPacket.h" |
icraggs | 2:dcfdd2abfe71 | 19 | |
icraggs | 3:dbff6b768d28 | 20 | |
icraggs | 8:c46930bd6c82 | 21 | void MQTT::threadfn(void* arg) |
icraggs | 3:dbff6b768d28 | 22 | { |
icraggs | 8:c46930bd6c82 | 23 | ((Client<Network, Timer, Thread>*) arg)->run(NULL); |
icraggs | 3:dbff6b768d28 | 24 | } |
icraggs | 3:dbff6b768d28 | 25 |