summaryrefslogtreecommitdiffstats
path: root/include/sysutils/FrameworkListener.h
diff options
context:
space:
mode:
authorRobert Greenwalt <rgreenwalt@google.com>2012-02-07 12:23:14 -0800
committerRobert Greenwalt <rgreenwalt@google.com>2012-02-07 16:00:07 -0800
commitdc58e73071aa829a5038caf37211f6b3e2d7b275 (patch)
tree8a92d09200206a41977c40a7dfb8784c24f7118a /include/sysutils/FrameworkListener.h
parent6f53225ef9f60a18a69b4ad3ba920ada168b719e (diff)
downloadsystem_core-dc58e73071aa829a5038caf37211f6b3e2d7b275.zip
system_core-dc58e73071aa829a5038caf37211f6b3e2d7b275.tar.gz
system_core-dc58e73071aa829a5038caf37211f6b3e2d7b275.tar.bz2
New NativeDaemonConnector protocol adds a seqnum.
Allows for one socket to be multiplexed for multiple requests. bug:5864209 Change-Id: I934c88da25d95e093371f455442bdf2f0ed7a4f4
Diffstat (limited to 'include/sysutils/FrameworkListener.h')
-rw-r--r--include/sysutils/FrameworkListener.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/sysutils/FrameworkListener.h b/include/sysutils/FrameworkListener.h
index 142f50c..d8c4258 100644
--- a/include/sysutils/FrameworkListener.h
+++ b/include/sysutils/FrameworkListener.h
@@ -24,7 +24,11 @@ class SocketClient;
class FrameworkListener : public SocketListener {
public:
static const int CMD_ARGS_MAX = 16;
+
+ /* 1 out of errorRate will be dropped */
+ int errorRate;
private:
+ int mCommandCount;
FrameworkCommandCollection *mCommands;
public: