Poco::MongoDB

class Message

File Information

Library: MongoDB
Package: MongoDB
Header: Poco/MongoDB/Message.h

Description

Base class for all messages send or retrieved from MongoDB server.

Inheritance

Known Derived Classes: UpdateRequest, GetMoreRequest, RequestMessage, InsertRequest, DeleteRequest, KillCursorsRequest, QueryRequest, ResponseMessage

Member Summary

Member Functions: header, messageLength

Constructors

Message

explicit Message(
    MessageHeader::OpCode opcode
);

Creates a Message using the given OpCode.

Destructor

~Message virtual

virtual ~Message();

Destructor

Member Functions

header inline

MessageHeader & header();

Returns the message header

messageLength protected inline

void messageLength(
    Poco::Int32 length
);

Sets the message length in the message header

Variables

_header protected

MessageHeader _header;

Securely control IoT edge devices from anywhere   Connect a Device