Poco::MongoDB

class KillCursorsRequest

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

Description

Class for creating an OP_KILL_CURSORS client request. This request is used to kill cursors, which are still open, returned by query requests.

Inheritance

Direct Base Classes: RequestMessage

All Base Classes: Message, RequestMessage

Member Summary

Member Functions: buildRequest, cursors

Inherited Functions: buildRequest, header, messageLength, send

Constructors

KillCursorsRequest

KillCursorsRequest();

Creates a KillCursorsRequest.

Destructor

~KillCursorsRequest virtual

virtual ~KillCursorsRequest();

Destroys the KillCursorsRequest.

Member Functions

cursors inline

std::vector < Int64 > & cursors();

The internal list of cursors.

buildRequest protected virtual

void buildRequest(
    BinaryWriter & writer
);

Variables

_cursors protected

std::vector < Int64 > _cursors;

Securely control IoT edge devices from anywhere   Connect a Device