qb  2.0.0.0
C++17 Actor Framework
qb Issue Watch Star Fork Follow @isndev
Loading...
Searching...
No Matches
base.h File Reference

Base protocol implementations for message framing in the QB IO system. More...

#include <cstring>
#include <qb/system/allocator/pipe.h>
#include "../async/protocol.h"
Include dependency graph for base.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  qb::protocol::base::byte_terminated< _IO_, _EndByte >
 Protocol for messages delimited by a specific single byte character. More...
class  qb::protocol::base::bytes_terminated< _IO_, _Trait >
 Protocol for messages delimited by a specific sequence of bytes (a string literal). More...
class  qb::protocol::base::size_as_header< _IO_, _Size >
 Protocol for messages where the payload is preceded by a fixed-size header indicating its length. More...

Detailed Description

Base protocol implementations for message framing in the QB IO system.

This file defines fundamental protocol templates used for common message framing techniques, such as messages terminated by specific byte(s) or messages prefixed by their size. These serve as building blocks for more specific application-level or data-format-level protocols.

Author
qb - C++ Actor Framework

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.