From 24da5267cb8f53f13ac643ca191fcbabd8ae4b62 Mon Sep 17 00:00:00 2001 From: Martin Haefner Date: Fri, 5 Feb 2016 22:59:54 +0100 Subject: [PATCH] stuff --- include/simppl/sessiondata.h | 32 -------------------------------- 1 file changed, 32 deletions(-) delete mode 100644 include/simppl/sessiondata.h diff --git a/include/simppl/sessiondata.h b/include/simppl/sessiondata.h deleted file mode 100644 index 49a9b44..0000000 --- a/include/simppl/sessiondata.h +++ /dev/null @@ -1,32 +0,0 @@ -#ifndef SIMPPL_SESSIONDATA_H -#define SIMPPL_SESSIONDATA_H - - -/** - * Session data holder. - * - * Currently, a session is defined by an ResolveInterface request on a - * server. Therefore, a session identifies a client instance which is - * connected to a server. There is no cross-client concept or multi-session - * concept for single clients. - */ -struct SessionData -{ - SessionData(); - SessionData(int fd, void* data, void(*destructor)(void*)); - - ~SessionData(); - - SessionData(SessionData&& rhs); - SessionData& operator=(SessionData&& rhs); - - SessionData(const SessionData&) = delete; - SessionData& operator=(const SessionData&) = delete; - - int fd_; ///< associated file handle the session belongs to - void* data_; ///< the session data pointer - void(*destructor_)(void*); ///< destructor function to use for destruction -}; - - -#endif // SIMPPL_SESSIONDATA_H