Merge from master
authorSunwook Bae <sunwook45.bae@samsung.com>
Mon, 18 Mar 2013 01:52:37 +0000 (10:52 +0900)
committerSunwook Bae <sunwook45.bae@samsung.com>
Mon, 18 Mar 2013 01:52:37 +0000 (10:52 +0900)
Change-Id: I4491b2f96de3c01031da304f2caff23bf87302ba
Signed-off-by: Sunwook Bae <sunwook45.bae@samsung.com>
include/message-port.h
src/MessagePortProxy.cpp

index 65aec02..e663ba7 100755 (executable)
@@ -126,7 +126,7 @@ int messageport_check_trusted_remote_port(const char* remote_app_id, const char
  *
  * @param [in] remote_app_id The ID of the remote application
  * @param [in] remote_port the name of the remote message port
- * @param [in] message the message to be passed to the remote application
+ * @param [in] message the message to be passed to the remote application, the recommended message size is under 4KB
  * @return 0 on success, otherwise a negative error value.
  * @retval #MESSAGEPORT_ERROR_NONE Successful
  * @retval #MESSAGEPORT_ERROR_INVALID_PARAMETER Invalid parameter
@@ -154,7 +154,7 @@ int messageport_send_message(const char* remote_app_id, const char* remote_port,
  *
  * @param [in] remote_app_id The ID of the remote application
  * @param [in] remote_port the name of the remote message port
- * @param [in] message the message to be passed to the remote application
+ * @param [in] message the message to be passed to the remote application, the recommended message size is under 4KB
  * @return 0 on success, otherwise a negative error value.
  * @retval #MESSAGEPORT_ERROR_NONE Successful
  * @retval #MESSAGEPORT_ERROR_INVALID_PARAMETER Invalid parameter
@@ -172,7 +172,7 @@ int messageport_send_trusted_message(const char* remote_app_id, const char* remo
  * @param [in] id The message port id returned by messageport_register_local_port() or messageport_register_trusted_local_port()
  * @param [in] remote_app_id The ID of the remote application
  * @param [in] remote_port the name of the remote message port
- * @param [in] message the message to be passed to the remote application
+ * @param [in] message the message to be passed to the remote application, the recommended message size is under 4KB
  * @return 0 on success, otherwise a negative error value.
  * @retval #MESSAGEPORT_ERROR_NONE Successful
  * @retval #MESSAGEPORT_ERROR_INVALID_PARAMETER Invalid parameter
@@ -210,7 +210,7 @@ int messageport_send_bidirectional_message(int id, const char* remote_app_id, co
  * @param [in] id The message port id returned by messageport_register_local_port() or messageport_register_trusted_local_port()
  * @param [in] remote_app_id The ID of the remote application
  * @param [in] remote_port the name of the remote message port
- * @param [in] message the message to be passed to the remote application
+ * @param [in] message the message to be passed to the remote application, the recommended message size is under 4KB
  * @return 0 on success, otherwise a negative error value.
  * @retval #MESSAGEPORT_ERROR_NONE Successful
  * @retval #MESSAGEPORT_ERROR_INVALID_PARAMETER Invalid parameter
index c203bad..f151bb9 100644 (file)
@@ -48,7 +48,7 @@ static const char REMOTE_PORT[] = "REMOTE_PORT";
 static const char TRUSTED_REMOTE[] = "TRUSTED_REMOTE";
 static const char TRUSTED_MESSAGE[] = "TRUSTED_MESSAGE";
 
-static const int MAX_MESSAGE_SIZE = 8 * 1024;
+static const int MAX_MESSAGE_SIZE = 16 * 1024;
 
 MessagePortProxy::MessagePortProxy(void)
        : __pIpcClient(NULL)