载入中...
搜索中...
未找到
Channel.h
浏览该文件的文档.
In-memory byte buffer implementing eve::Data (ref-counted).
Definition ByteData.h:11
Length-prefixed (big-endian uint32) message framing over a TcpSocket. sendMsg() writes one framed mes...
Definition Channel.h:21
void feed(const std::vector< char > &bytes)
Feeds received bytes into the frame parser. Called on the main thread from Network::pump / the emitCo...
Definition Channel.cpp:65
bool sendMsgString(std::string s)
Sends a string payload as one framed message (empty strings are rejected).
Definition Channel.cpp:59
TCP socket backed by Poco::Net; supports both client (connect) and server (listen/accept) roles....
Definition TcpSocket.h:28
Definition ByteData.cpp:7
Definition Channel.cpp:12