diff options
author | Angelo Mantellini (manangel) <angelo.mantellini@irt-systemx.fr> | 2017-06-06 14:22:24 +0200 |
---|---|---|
committer | Angelo Mantellini (manangel) <angelo.mantellini@irt-systemx.fr> | 2017-06-07 15:01:28 +0200 |
commit | 6358e611e09092ad121f4a85e548c0d9411ab09f (patch) | |
tree | 1e9ac163ce10ab44402dcce1566b7920afbe1bf1 /src/libdash/include/IChunk.h | |
parent | dca773280df13ce3ecc6d306dffd603715cf25a5 (diff) |
update applications to use new version libicnet
Change-Id: I4b2381a13cf64488baf83056fc1fa11b359d1147
Signed-off-by: Angelo Mantellini (manangel) <angelo.mantellini@irt-systemx.fr>
Diffstat (limited to 'src/libdash/include/IChunk.h')
-rw-r--r-- | src/libdash/include/IChunk.h | 88 |
1 files changed, 0 insertions, 88 deletions
diff --git a/src/libdash/include/IChunk.h b/src/libdash/include/IChunk.h deleted file mode 100644 index 76b3314b..00000000 --- a/src/libdash/include/IChunk.h +++ /dev/null @@ -1,88 +0,0 @@ -/** - * @class dash::network::IChunk - * @brief This interface is needed for accessing the information belonging to a dash::network::IChunk object - * @details Provides specific information of a chunk, e.g., URI, Hostname, Port, Path and optional Range that - * that are needed to download this chunk. - * - * @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 ICHUNK_H_ -#define ICHUNK_H_ - -#include "config.h" -#include "IHTTPTransaction.h" - -namespace dash -{ - namespace network - { - class IChunk - { - public: - virtual ~IChunk(){} - - /** - * Returns a reference to a string that specifies the absolute URI to this chunk - * @return a reference to a string - */ - virtual std::string& AbsoluteURI () = 0; - - /** - * Returns a reference to a string that specifies the host of this chunk - * @return a reference to a string - */ - virtual std::string& Host () = 0; - - /** - * Returns an unsigned integer representing the port belonging to this chunk - * @return an unsigned integer - */ - virtual size_t Port () = 0; - - /** - * Returns a reference to a string that specifies the path to this chunk - * @return a reference to a string - */ - virtual std::string& Path () = 0; - - /** - * Returns a reference to a string that specifies the byte range belonging to this chunk - * @return a reference to a string - */ - virtual std::string& Range () = 0; - - /** - * Returns an unsigned integer representing the start byte of the byte range that belongs to this chunk - * @return an unsigned integer - */ - virtual size_t StartByte () = 0; - - /** - * Returns an unsigned integer representing the end byte of the byte range that belongs to this chunk - * @return an unsigned integer - */ - virtual size_t EndByte () = 0; - - /** - * Returns a bool value that represents whether this chunk has a byte range or not - * @return a bool value - */ - virtual bool HasByteRange () = 0; - - /** - * Returns the type of a <b>HTTP Request/Response Transaction</b> in <em>ISO/IEC 23009-1, Part 1, 2012</em>, annex D.4.3, Table D.2 - * @return a dash::metrics::HTTPTransactionType - */ - virtual dash::metrics::HTTPTransactionType GetType () = 0; - }; - } -} - -#endif /* ICHUNK_H_ */
\ No newline at end of file |