mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 03:57:44 +00:00
LibCore: Move Stream-based sockets into the Core
namespace
This commit is contained in:
parent
d43a7eae54
commit
a96339b72b
123 changed files with 1157 additions and 1100 deletions
|
@ -32,7 +32,7 @@ inline ErrorOr<T> decode(Decoder&)
|
|||
|
||||
class Decoder {
|
||||
public:
|
||||
Decoder(AK::Stream& stream, Core::Stream::LocalSocket& socket)
|
||||
Decoder(AK::Stream& stream, Core::LocalSocket& socket)
|
||||
: m_stream(stream)
|
||||
, m_socket(socket)
|
||||
{
|
||||
|
@ -56,11 +56,11 @@ public:
|
|||
|
||||
ErrorOr<size_t> decode_size();
|
||||
|
||||
Core::Stream::LocalSocket& socket() { return m_socket; }
|
||||
Core::LocalSocket& socket() { return m_socket; }
|
||||
|
||||
private:
|
||||
AK::Stream& m_stream;
|
||||
Core::Stream::LocalSocket& m_socket;
|
||||
Core::LocalSocket& m_socket;
|
||||
};
|
||||
|
||||
template<Arithmetic T>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue