int GetClientId(void) const;
/**
- * Returns the process id of the client which sent a request message.
- *
- * @return The process id of the IPC client.
- * @remark This can be called only in a message handler.
- */
- int GetClientProcessId(void) const;
-
- /**
- * Returns the package id of the client which sent a request message.
- *
- * @return The package id of the IPC client.
- * @remark This can be called only in a message handler.
- */
- Tizen::Base::String GetClientAppId(void) const;
-
- /**
- * Returns the executable name of the client which sent a request message.
- *
- * @return The executable name of the IPC client.
- * @remark This can be called only in a message handler.
- */
- Tizen::Base::String GetClientAppExecutableName(void) const;
-
- /**
* Returns the application id of the client which sent a request message.
*
* @return The application id of the IPC client.
}
int
-IpcServer::GetClientId(void) const
-{
- if (__pCurrentClientInfo)
- {
- return __pCurrentClientInfo->clientId;
- }
-
- return -1;
-}
-
-int
IpcServer::GetClientProcessId(void) const
{
if (__pCurrentClientInfo)
return -1;
}
-String
-IpcServer::GetClientAppId(void) const
-{
- static String nullString;
-
- if (__pCurrentClientInfo)
- {
- return __pCurrentClientInfo->appId;
- }
-
- return nullString;
-}
-
-String
-IpcServer::GetClientAppExecutableName(void) const
-{
- static String nullString;
-
- //if (__pCurrentClientInfo)
- {
- //return __pCurrentClientInfo->appExecutableName;
- }
-
- return nullString;
-}
-
AppId
IpcServer::GetClientApplicationId(void) const
{