summaryrefslogtreecommitdiff
path: root/drivers/gator/daemon/StreamlineSetup.h
diff options
context:
space:
mode:
authorPhilippe Langlais <philippe.langlais@stericsson.com>2012-05-24 17:15:43 +0200
committerPhilippe Langlais <philippe.langlais@stericsson.com>2012-05-24 17:15:43 +0200
commited6e65a66f3bcf84dff4ff4e680096b7e40076d5 (patch)
treeef3c097361c500e1f6d44cad5f3872218eac8ab0 /drivers/gator/daemon/StreamlineSetup.h
parent56fe6d63c36dc27747cd9b98c6ebd9cca0ab2899 (diff)
Revert "Merge remote-tracking branch 'armlt/previous-armlt-gator' into stable-linux-ux500-3.3"
This reverts commit a394b8c66756934bf0bc526da1b888e524313fb4, reversing changes made to a416f0c1e67d56752c38d8db621be99b3cf12bb8.
Diffstat (limited to 'drivers/gator/daemon/StreamlineSetup.h')
-rw-r--r--drivers/gator/daemon/StreamlineSetup.h46
1 files changed, 0 insertions, 46 deletions
diff --git a/drivers/gator/daemon/StreamlineSetup.h b/drivers/gator/daemon/StreamlineSetup.h
deleted file mode 100644
index 10327e00bc7..00000000000
--- a/drivers/gator/daemon/StreamlineSetup.h
+++ /dev/null
@@ -1,46 +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 __STREAMLINE_SETUP_H__
-#define __STREAMLINE_SETUP_H__
-
-#include "OlySocket.h"
-
-// Commands from Streamline
-enum {
- COMMAND_REQUEST_XML = 0,
- COMMAND_DELIVER_XML = 1,
- COMMAND_APC_START = 2,
- COMMAND_APC_STOP = 3,
- COMMAND_DISCONNECT = 4,
- COMMAND_PING = 5
-};
-
-class StreamlineSetup {
-public:
- StreamlineSetup(OlySocket *socket);
- ~StreamlineSetup();
-private:
- int numConnections;
- OlySocket* socket;
- char* mSessionXML;
-
- char* readCommand(int*);
- void handleRequest(char* xml);
- void handleDeliver(char* xml);
- void sendData(const char* data, int length, int type);
- void sendString(const char* string, int type) {sendData(string, strlen(string), type);}
- void sendProtocol();
- void sendEvents();
- void sendConfiguration();
- void sendDefaults();
- void sendCounters();
- void writeConfiguration(char* xml);
-};
-
-#endif //__STREAMLINE_SETUP_H__