TcpIpcModule: support multiple data buffers for send/receive
authorTimo Lotterbach <timo.lotterbach@bmw-carit.de>
Mon, 16 Jul 2012 11:01:00 +0000 (04:01 -0700)
committerTimo Lotterbach <timo.lotterbach@bmw-carit.de>
Mon, 16 Jul 2012 11:01:00 +0000 (04:01 -0700)
commitd0fccc2b46153ba7a1b4761f1c82dd4b131c584f
tree724db846c7c0365b307b31b42b15aa0bbcb011d2
parent11e95d07b71b6b75121159bba081162c161fdb8b
TcpIpcModule: support multiple data buffers for send/receive

This is a preparation to introduce asynchronous client notifications.

Having multiple buffers is required in these situations:
- a client is just creating a message and is about to send it
- a client notification is received, overwriting the clients message

or:
- a message was received, the client is just about to read the data from it
- a client notification is received, overwriting the clients message

To handle these situations, 1 sendBuffer and 2 separate receive buffer have been created.
LayerManagerPlugins/IpcModules/TcpIpcModule/include/socketConfiguration.h
LayerManagerPlugins/IpcModules/TcpIpcModule/include/socketShared.h
LayerManagerPlugins/IpcModules/TcpIpcModule/src/append.c
LayerManagerPlugins/IpcModules/TcpIpcModule/src/get.c
LayerManagerPlugins/IpcModules/TcpIpcModule/src/initialization.c
LayerManagerPlugins/IpcModules/TcpIpcModule/src/message.c