diff options
author | Mike Buland <eichlan@xagasoft.com> | 2010-08-21 04:38:31 +0000 |
---|---|---|
committer | Mike Buland <eichlan@xagasoft.com> | 2010-08-21 04:38:31 +0000 |
commit | e23028eb568f7f541c2717b5b4fb2c4cf1e2a690 (patch) | |
tree | d693cd5f605bc05008466cda6ddc8a1323ecacb3 /src/packet.h | |
parent | 11b5a91c5884d496744911f261ed6c2b053b9940 (diff) | |
download | libgats-e23028eb568f7f541c2717b5b4fb2c4cf1e2a690.tar.gz libgats-e23028eb568f7f541c2717b5b4fb2c4cf1e2a690.tar.bz2 libgats-e23028eb568f7f541c2717b5b4fb2c4cf1e2a690.tar.xz libgats-e23028eb568f7f541c2717b5b4fb2c4cf1e2a690.zip |
Packet was silly, the protocol will be good, though.
Diffstat (limited to '')
-rw-r--r-- | src/packet.h | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/src/packet.h b/src/packet.h deleted file mode 100644 index 5ddc9ee..0000000 --- a/src/packet.h +++ /dev/null | |||
@@ -1,29 +0,0 @@ | |||
1 | #ifndef GATS_PACKET_H | ||
2 | #define GATS_PACKET_H | ||
3 | |||
4 | namespace Gats | ||
5 | { | ||
6 | class Object; | ||
7 | |||
8 | /** | ||
9 | * A D-encoded packet is a header and metadata related to encoding as well | ||
10 | * as a single object. The advantage of this method is that the packet | ||
11 | * contains all information related to encoding and is highly portable, it | ||
12 | * also lets the reader know how much data to expect, which makes this | ||
13 | * efficient for use in protocols and embedding in other data streams. | ||
14 | */ | ||
15 | class Packet | ||
16 | { | ||
17 | public: | ||
18 | Packet(); | ||
19 | Packet( Object *pObject ); | ||
20 | virtual ~Packet(); | ||
21 | |||
22 | Object *getObject() { return pRoot; } | ||
23 | |||
24 | private: | ||
25 | Object *pRoot; | ||
26 | }; | ||
27 | }; | ||
28 | |||
29 | #endif | ||