A structure representing message buffer sizes.
More...
#include <dcpp.h>
A structure representing message buffer sizes.
DcppBuffers stores message buffer sizes. Routines allow access to each component. Normally the user constructs such an object with the other details used by DcppTask when getting a path to a task.
- See also
- DcppTask
-
DitsPathGet()
DcppBuffers::DcppBuffers |
( |
long int |
MessageBytes = 800 , |
|
|
long int |
MaxMessages = 2 , |
|
|
long int |
ReplyBytes = 800 , |
|
|
long int |
MaxReplies = 2 |
|
) |
| |
|
inline |
Construct a DcppBuffers object from indivual specifications.
- See also
- DitsPathGet()
- Parameters
-
MessageBytes | The number of bytes in a typical message. |
MaxMessages | The maximum number of typical messages which might be outstanding at any time. |
ReplyBytes | The number of bytes in a typical reply message. |
MaxReplies | The maximum number of typical reply messages which might be outstanding at any time. |
DcppBuffers::DcppBuffers |
( |
const DitsPathInfoType & |
i | ) |
|
|
inline |
Construct a DcppBuffers object from a DitsPathInfoType variable.
- See also
- DitsPathGet
- Parameters
-
i | The buffer specification. |
long int DcppBuffers::MaxMessages |
( |
| ) |
const |
|
inline |
Return the Max Messages specification.
long int DcppBuffers::MaxReplies |
( |
| ) |
const |
|
inline |
Return the Max Replies specification.
long int DcppBuffers::MessageBytes |
( |
| ) |
const |
|
inline |
Return the message bytes specification.
DcppBuffers::operator const DitsPathInfoType * |
( |
| ) |
const |
|
inline |
Return the DitsPathInfoType data for this object.
long int DcppBuffers::ReplyBytes |
( |
| ) |
const |
|
inline |
Return the reply bytes specification.
The documentation for this class was generated from the following file: