aboutsummaryrefslogtreecommitdiffstats
path: root/src/libdash/include/ITCPConnection.h
diff options
context:
space:
mode:
authorAngelo Mantellini (manangel) <angelo.mantellini@irt-systemx.fr>2017-03-29 18:00:06 +0200
committerAngelo Mantellini (manangel) <angelo.mantellini@irt-systemx.fr>2017-03-30 18:58:33 +0200
commit3137acdd5a45285dab9903f9d41560c63eca8523 (patch)
tree38bd8525a9e214d848a73fc40e81ddb182cf91b6 /src/libdash/include/ITCPConnection.h
parent9b30fc10fb1cbebe651e5a107e8ca5b24de54675 (diff)
first commit
Change-Id: I8412b8e7d966c2fbc508b537fd9a9bbcfc628ca8 Signed-off-by: Angelo Mantellini (manangel) <angelo.mantellini@irt-systemx.fr>
Diffstat (limited to 'src/libdash/include/ITCPConnection.h')
-rw-r--r--src/libdash/include/ITCPConnection.h40
1 files changed, 40 insertions, 0 deletions
diff --git a/src/libdash/include/ITCPConnection.h b/src/libdash/include/ITCPConnection.h
new file mode 100644
index 00000000..3d4f4867
--- /dev/null
+++ b/src/libdash/include/ITCPConnection.h
@@ -0,0 +1,40 @@
+/**
+ * @class dash::metrics::ITCPConnection
+ * @brief This interface is needed for accessing the attributes and the content of a <tt><b>TCP Connection</b></tt>
+ * as specified in <em>ISO/IEC 23009-1, Part 1, 2012</em>, annex D.4.2
+ * @see
+ *
+ * @author bitmovin Softwareentwicklung OG \n
+ * Email: libdash-dev@vicky.bitmovin.net
+ * @version 2.1
+ * @date 2013
+ * @copyright bitmovin Softwareentwicklung OG, All Rights Reserved \n\n
+ * This source code and its use and distribution, is subject to the terms
+ * and conditions of the applicable license agreement.
+ */
+
+#ifndef ITCTPCONNECTION_H_
+#define ITCTPCONNECTION_H_
+
+#include "config.h"
+
+namespace dash
+{
+ namespace metrics
+ {
+ class ITCPConnection
+ {
+ public:
+ virtual ~ITCPConnection (){}
+
+ virtual uint32_t TCPId () const = 0;
+ virtual const std::string& DestinationAddress () const = 0;
+ virtual const std::string& ConnectionOpenedTime () const = 0;
+ virtual const std::string& ConnectionClosedTime () const = 0;
+ virtual uint64_t ConnectionTime () const = 0;
+
+ };
+ }
+}
+
+#endif /* ITCTPCONNECTION_H_ */