qpid::messaging::Duration Class Reference

Apache Qpid - AMQP Messaging for Java JMS, C++, Python, Ruby, and .NET | Apache Qpid Documentation

- Main Page
- Modules
- Namespaces
- Classes
- Files

- Class List
- Class Index
- Class Hierarchy
- Class Members

Public Member Functions | Static Public Attributes
qpid::messaging::Duration Class Reference
Qpid C++ Client API

A duration is a time in milliseconds. More...

`#include <qpid/messaging/Duration.h>`

List of all members.

## Public Member Functions
| Duration (uint64_t milliseconds)
uint64_t | getMilliseconds () const
## Static Public Attributes
static const Duration | FOREVER
static const Duration | IMMEDIATE
static const Duration | SECOND
static const Duration | MINUTE

## Detailed Description

A duration is a time in milliseconds.

## Constructor & Destructor Documentation

qpid::messaging::Duration::Duration | ( | uint64_t | milliseconds | ) | `[explicit]`

## Member Function Documentation

uint64_t qpid::messaging::Duration::getMilliseconds | ( |  | ) | const

## Member Data Documentation

const Duration qpid::messaging::Duration::FOREVER`[static]`

Definition at line 40 of file Duration.h.

const Duration qpid::messaging::Duration::IMMEDIATE`[static]`

Definition at line 41 of file Duration.h.

const Duration qpid::messaging::Duration::MINUTE`[static]`

Definition at line 43 of file Duration.h.

const Duration qpid::messaging::Duration::SECOND`[static]`

Definition at line 42 of file Duration.h.

The documentation for this class was generated from the following file:

- qpid/messaging/Duration.h