Add an E_INVALID_CONNECTION in _IpcClient::SendRequest()
[platform/framework/native/appfw.git] / src / io / inc / FIo_IpcClient.h
index 60c2c85..2a6a062 100644 (file)
@@ -1,5 +1,4 @@
 //
-// Open Service Platform
 // Copyright (c) 2012 Samsung Electronics Co., Ltd.
 //
 // Licensed under the Apache License, Version 2.0 (the License);
@@ -69,7 +68,6 @@ public:
         * @param[in] pListener Set if the client want to handle a message from the IPC server.
         *                                 @c null, otherwise.
         * @exception E_SUCCESS         The method was successful.
-        * @exception E_OBJ_NOT_FOUND   The IPC server was not found.
         * @exception E_OUT_OF_MEMORY   Insufficient memory.
         * @exception E_SYSTEM          A system error occurred.
         */
@@ -103,7 +101,8 @@ public:
         * @return An error code
         * @param[in] message   The message to send
         * @exception E_SUCCESS         The method was successful.
-        * @exception E_INVALID_STATE   The instance is in an invalid state.
+        * @exception E_RESOURCE_UNAVAILABLE    The socket buffer is full.
+        * @exception E_INVALID_CONNECTION      The socket connection is closed.
         * @exception E_OUT_OF_MEMORY   Insufficient memory.
         * @exception E_SYSTEM          A system error occurred.
         *
@@ -137,6 +136,7 @@ private:
        GSource* __pReverseSource;
 
        std::vector <int> __fds;
+       int __fdCount;
        Tizen::Base::Runtime::Mutex* __pFdLock;
        Tizen::Base::String __name;
        _IIpcClientEventListener* __pListener;