diff options
author | Bhavna Sharma <sbhavna@codeaurora.org> | 2019-04-03 18:12:52 -0700 |
---|---|---|
committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2019-06-12 14:06:08 -0700 |
commit | 61fd929fb6f9466b02706f9af0c4b36f3e16a2d6 (patch) | |
tree | 9761dbf831d32e2c108143145e1d8f74e2daafb4 /utils/LocIpc.h | |
parent | aadcd5f7dc66cb39fe5bc3e8f8886ccc1608e7db (diff) | |
download | gps-61fd929fb6f9466b02706f9af0c4b36f3e16a2d6.tar.gz |
Redesign Inet sender and receiver
Redesign the inet sender and receiver to
be able to accomodate udp and tcp types into
one base class.
CRs-Fixed: 2429102
Change-Id: Ie138839a5c8842813c99053816e06e4ed7f6b314
Diffstat (limited to 'utils/LocIpc.h')
-rw-r--r-- | utils/LocIpc.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/utils/LocIpc.h b/utils/LocIpc.h index b91966c..42fbff3 100644 --- a/utils/LocIpc.h +++ b/utils/LocIpc.h @@ -67,6 +67,8 @@ public: static shared_ptr<LocIpcSender> getLocIpcLocalSender(const char* localSockName); static shared_ptr<LocIpcSender> + getLocIpcInetUdpSender(const char* serverName, int32_t port); + static shared_ptr<LocIpcSender> getLocIpcInetTcpSender(const char* serverName, int32_t port); static shared_ptr<LocIpcSender> getLocIpcQrtrSender(int service, int instance); @@ -75,6 +77,9 @@ public: getLocIpcLocalRecver(const shared_ptr<ILocIpcListener>& listener, const char* localSockName); static unique_ptr<LocIpcRecver> + getLocIpcInetUdpRecver(const shared_ptr<ILocIpcListener>& listener, + const char* serverName, int32_t port); + static unique_ptr<LocIpcRecver> getLocIpcInetTcpRecver(const shared_ptr<ILocIpcListener>& listener, const char* serverName, int32_t port); static unique_ptr<LocIpcRecver> |