X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=inc%2FFIoRemoteMessagePort.h;h=e1b9c37f4d7ff0608b3c8bbe7f77b43a9421b988;hb=ee0dd6e4ea27209f7f29314d4f924c415ec06c30;hp=2facefb716a7ea9f39c413d6a9602882861c8053;hpb=7004eb0d606ebd97b132f24077a1b6fd3fdec67d;p=platform%2Fframework%2Fnative%2Fappfw.git diff --git a/inc/FIoRemoteMessagePort.h b/inc/FIoRemoteMessagePort.h index 2facefb..e1b9c37 100644 --- a/inc/FIoRemoteMessagePort.h +++ b/inc/FIoRemoteMessagePort.h @@ -1,5 +1,4 @@ // -// Open Service Platform // Copyright (c) 2012 Samsung Electronics Co., Ltd. // // Licensed under the Apache License, Version 2.0 (the License); @@ -63,7 +62,7 @@ class LocalMessagePort; * : public Tizen::Io::IMessagePortListener * { * public: -* result Initialize(void); +* void Initialize(void); * virtual void OnMessageReceivedN(RemoteMessagePort* pRemoteMessagePort, IMap* pMessage); * void GetOnlineFriends(void); * @@ -82,7 +81,7 @@ class LocalMessagePort; * } * * void -* MyAppClass::OnMessageReceivedN(RemoteMessagePort* pRemoteMessagePort, IMap* pMessage); +* MyAppClass::OnMessageReceivedN(RemoteMessagePort* pRemoteMessagePort, IMap* pMessage) * { * String* pValue = static_cast(pMessage->GetValue(String(L"Reply"))); * @@ -90,7 +89,7 @@ class LocalMessagePort; * * delete pMessage; * } - +* * void * MyAppClass::GetOnlineFriends(void) * { @@ -147,13 +146,13 @@ public: * * @return An error code * @param[in] pMessage A pointer to an argument map of key (String) and value (String or ByteBuffer) pair @n - * The recommended message size is under 16KB. + * The recommended message size is under 4KB. * @exception E_SUCCESS The method is successful. * @exception E_INVALID_ARG The message argument is not a map of key (String) and value (String or ByteBuffer) pair. * @exception E_OBJ_NOT_FOUND The message port of the target application is not found. * @exception E_MAX_EXCEEDED The size of @c pMessage has exceeded the maximum limit. * @exception E_SYSTEM The method has failed due to a severe system error. - * @remarks The recommended message size is under 16KB because severe system performance degradation may occur for large messages. E_MAX_EXCEEDED may be returned for messages over 16KB size. + * @remarks The recommended message size is under 4KB because severe system performance degradation may occur for large messages. @c E_MAX_EXCEEDED may be returned for messages over 4KB size. */ result SendMessage(const Tizen::Base::Collection::IMap* pMessage); @@ -166,7 +165,7 @@ public: * @return An error code * @param[in] pLocalMessagePort The local message port * @param[in] pMessage A pointer to an argument map of key (String) and value (String or ByteBuffer) pair @n - * The recommended message size is under 16KB. + * The recommended message size is under 4KB. * @exception E_SUCCESS The method is successful. * @exception E_INVALID_ARG Either of the following conditions has occurred: @n * - The local message port is @c null. @n @@ -174,7 +173,7 @@ public: * @exception E_OBJ_NOT_FOUND The message port of the target application is not found. * @exception E_MAX_EXCEEDED The size of @c pMessage has exceeded the maximum limit. * @exception E_SYSTEM The method has failed due to a severe system error. - * @remarks The recommended message size is under 16KB because severe system performance degradation may occur for large messages. E_MAX_EXCEEDED may be returned for messages over 16KB size. + * @remarks The recommended message size is under 4KB because severe system performance degradation may occur for large messages. @c E_MAX_EXCEEDED may be returned for messages over 4KB size. */ result SendMessage(const LocalMessagePort* pLocalMessagePort, const Tizen::Base::Collection::IMap* pMessage);