summaryrefslogtreecommitdiff
path: root/tools/gator/daemon/Sender.h
diff options
context:
space:
mode:
Diffstat (limited to 'tools/gator/daemon/Sender.h')
-rw-r--r--tools/gator/daemon/Sender.h38
1 files changed, 0 insertions, 38 deletions
diff --git a/tools/gator/daemon/Sender.h b/tools/gator/daemon/Sender.h
deleted file mode 100644
index 98467e025c12..000000000000
--- a/tools/gator/daemon/Sender.h
+++ /dev/null
@@ -1,38 +0,0 @@
-/**
- * Copyright (C) ARM Limited 2010-2012. All rights reserved.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
- */
-
-#ifndef __SENDER_H__
-#define __SENDER_H__
-
-#include <stdio.h>
-#include <pthread.h>
-#include "OlySocket.h"
-
-enum {
- RESPONSE_END = 0, // unused
- RESPONSE_XML = 1,
- RESPONSE_APC_DATA = 3,
- RESPONSE_ACK = 4,
- RESPONSE_NAK = 5,
- RESPONSE_ERROR = 0xFF
-};
-
-class Sender {
-public:
- Sender(OlySocket* socket);
- ~Sender();
- void writeData(const char* data, int length, int type);
- void createDataFile(char* apcDir);
-private:
- OlySocket* mDataSocket;
- FILE* mDataFile;
- char* mDataFileName;
- pthread_mutex_t mSendMutex;
-};
-
-#endif //__SENDER_H__