Change-Id: I92f74c1c9ef5e4492bca78144214989fac16ec1f
Signed-off-by: Hyunbin Lee <hyunbin.lee@samsung.com>
MESSAGEPORT_ERROR_MESSAGEPORT_NOT_FOUND = -4, /**< The message port of the remote application is not found */
MESSAGEPORT_ERROR_CERTIFICATE_NOT_MATCH = -5, /**< The remote application is not signed with the same certificate */
MESSAGEPORT_ERROR_MAX_EXCEEDED = -6, /**< The size of message has exceeded the maximum limit */
+ MESSAGEPORT_ERROR_RESOURCE_UNAVAILABLE = -7, /**< Resource temporarily unavailable */
} messageport_error_e;
return MESSAGEPORT_ERROR_CERTIFICATE_NOT_MATCH;
}
+ else if (return_value == MESSAGEPORT_ERROR_RESOURCE_UNAVAILABLE)
+ {
+ _LOGE("The socket receiver buffer of remote port is temporarily full.");
+
+ return MESSAGEPORT_ERROR_RESOURCE_UNAVAILABLE;
+ }
else
{
_LOGE("Failed to check the remote messge port: %d.", return_value);