*/
int GetClientId(void) const;
- int GetClientProcessId(void) const;
-
- Tizen::Base::String GetClientAppId(void) const;
-
- Tizen::Base::String GetClientAppExecutableName(void) const;
-
/**
* Returns the package id of the client which sent a request message.
*
return -1;
}
-int
-_IpcServer::GetClientProcessId(void) const
-{
- if (__pCurrentClientInfo)
- {
- return __pCurrentClientInfo->clientId;
- }
-
- return -1;
-}
-
-String
-_IpcServer::GetClientAppId(void) const
-{
- static String nullString;
-
- if (__pCurrentClientInfo)
- {
- return __pCurrentClientInfo->pkgId;
- }
-
- return nullString;
-}
-
-String
-_IpcServer::GetClientAppExecutableName(void) const
-{
- static String nullString;
-
- if (__pCurrentClientInfo)
- {
- return __pCurrentClientInfo->appExecutableName;
- }
-
- return nullString;
-}
-
PackageId
_IpcServer::GetClientPackageId(void) const
{