summaryrefslogtreecommitdiff
path: root/modules/io_codec/c++/io_peer.hpp
diff options
context:
space:
mode:
authorClaudius 'keldu' Holeksa <mail@keldu.de>2024-08-03 18:06:50 +0200
committerClaudius 'keldu' Holeksa <mail@keldu.de>2024-08-03 18:06:50 +0200
commite42c3750013e634bbe1834e3e684367e42814b97 (patch)
treeaa398cb6370b02dd3c68a73771f964065f12219d /modules/io_codec/c++/io_peer.hpp
parent738bc442f680bda95667e4fd1ae743c6f6afeab0 (diff)
wip
Diffstat (limited to 'modules/io_codec/c++/io_peer.hpp')
-rw-r--r--modules/io_codec/c++/io_peer.hpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/modules/io_codec/c++/io_peer.hpp b/modules/io_codec/c++/io_peer.hpp
index 9381754..c4e28a1 100644
--- a/modules/io_codec/c++/io_peer.hpp
+++ b/modules/io_codec/c++/io_peer.hpp
@@ -19,7 +19,7 @@ public:
*/
streaming_io_peer(
own<conveyor_feeder<data<Incoming, ContentEncoding>>> feed,
- own<async_io_stream> stream, codec<Incoming, TransportEncoding> in_codec, codec<Outgoing, TransportEncoding> out_codec, BufferT in, BufferT out);
+ own<async_io_stream> stream, transport<TransportEncoding> in_codec, BufferT in, BufferT out);
/**
* Constructor with mostly default assignements
@@ -77,8 +77,7 @@ private:
own<async_io_stream> io_stream_;
- codec<Incoming, TransportEncoding> in_codec_;
- codec<Outgoing, TransportEncoding> out_codec_;
+ transport<TransportEncoding> in_codec_;
BufferT in_buffer_;
BufferT out_buffer_;