Class Poco::MongoDB::RequestMessage
Author: Applied Informatics Software Engineering GmbH and Contributors

# Poco::MongoDB

# class RequestMessage

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

## Description

Base class for a request

## Inheritance

Direct Base Classes: Message

All Base Classes: Message

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

## Member Summary

Member Functions: buildRequest, send

Inherited Functions: header, messageLength

## Constructors

### RequestMessage

RequestMessage(
MessageHeader::OpCode opcode
);

Constructor

## Destructor

### ~RequestMessage

virtual ~RequestMessage();

Destructor

## Member Functions

### send

void send(
std::ostream & ostr
);

Sends the request to stream

### buildRequest

virtual void buildRequest(
BinaryWriter & ss
) = 0;