diff options
author | San Mehat <san@google.com> | 2009-05-12 11:16:59 -0700 |
---|---|---|
committer | San Mehat <san@google.com> | 2009-05-12 14:02:32 -0700 |
commit | d768066ef54270a0d3ccfccd50ae8238db5a2cdd (patch) | |
tree | eea4b978f43fad98d561ef97a7fec0d9d502ac14 /include | |
parent | c73d9e43a0c98a87222ef0c8749d6abba06c7778 (diff) | |
download | system_core-d768066ef54270a0d3ccfccd50ae8238db5a2cdd.zip system_core-d768066ef54270a0d3ccfccd50ae8238db5a2cdd.tar.gz system_core-d768066ef54270a0d3ccfccd50ae8238db5a2cdd.tar.bz2 |
libsysutils: Tweak SocketListener and friends
Signed-off-by: San Mehat <san@google.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/sysutils/SocketClient.h | 2 | ||||
-rw-r--r-- | include/sysutils/SocketListener.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/include/sysutils/SocketClient.h b/include/sysutils/SocketClient.h index 39ec7ae..cde64a5 100644 --- a/include/sysutils/SocketClient.h +++ b/include/sysutils/SocketClient.h @@ -15,8 +15,8 @@ public: int getSocket() { return mSocket; } + int sendMsg(int code, char *msg, bool addErrno); int sendMsg(char *msg); - int sendMsg(char *msg, char *data); }; typedef android::List<SocketClient *> SocketClientCollection; diff --git a/include/sysutils/SocketListener.h b/include/sysutils/SocketListener.h index be97421..30d050d 100644 --- a/include/sysutils/SocketListener.h +++ b/include/sysutils/SocketListener.h @@ -37,8 +37,8 @@ public: int startListener(); int stopListener(); + void sendBroadcast(int code, char *msg, bool addErrno); void sendBroadcast(char *msg); - void sendBroadcast(char *msg, char *data); protected: virtual bool onDataAvailable(SocketClient *c) = 0; |