summaryrefslogtreecommitdiff
path: root/AudioManagerDaemon/test/sockethandler/sockethandlerTest.h
diff options
context:
space:
mode:
authorchristian mueller <christian.ei.mueller@bmw.de>2011-12-28 15:55:32 +0100
committerchristian mueller <christian.ei.mueller@bmw.de>2011-12-29 15:43:02 +0100
commitb7e748007bbe0b16fa8a8a089c6cc8fe43bc7aac (patch)
treee93f5912113ad4d611944648d7f9746e009a0d9b /AudioManagerDaemon/test/sockethandler/sockethandlerTest.h
parent6b583365d1f0f5c7ff613ecfc323c4d1eba1699d (diff)
downloadaudiomanager-b7e748007bbe0b16fa8a8a089c6cc8fe43bc7aac.tar.gz
* assert on empty busname (routinginterface)ver-0.0.1
* added busname for DbusroutingSender * rework of sockethandlertests * small changes on compilerflags * new default error messages on dummy controller plugin * new plugin Asynchronous including tests
Diffstat (limited to 'AudioManagerDaemon/test/sockethandler/sockethandlerTest.h')
-rw-r--r--AudioManagerDaemon/test/sockethandler/sockethandlerTest.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/AudioManagerDaemon/test/sockethandler/sockethandlerTest.h b/AudioManagerDaemon/test/sockethandler/sockethandlerTest.h
index d58c46f..18eff7e 100644
--- a/AudioManagerDaemon/test/sockethandler/sockethandlerTest.h
+++ b/AudioManagerDaemon/test/sockethandler/sockethandlerTest.h
@@ -17,7 +17,12 @@ namespace am {
class SamplePlugin
{
public:
- SamplePlugin(SocketHandler *mySocketHandler);
+ enum sockType_e
+ {
+ UNIX,
+ INET
+ };
+ SamplePlugin(SocketHandler *mySocketHandler,sockType_e socketType);
virtual ~SamplePlugin() {};
void connectSocket(const pollfd pollfd,const sh_pollHandle_t handle, void* userData);
void receiveData(const pollfd pollfd,const sh_pollHandle_t handle, void* userData);