nn::nex::BundlingPolicy::SetMaximumFlushDelay Member Function

Syntax

void SetMaximumFlushDelay(
     TimeInterval tiDelay
);

Parameters

Name Description
tiDelay [in] Specifies the maximum delay time in units of milliseconds. If 0, messages are accumulated up until the time just before packet transmission is performed at end of Dispatch. The standard value is 0.

Return Values

None.

Description

Specifies the delay time to wait while accumulating messages before sending them.

All messages the user attempts to send will be accumulated and not be sent until the specified delay time elapses. The accumulated messages are bundled once this delay time has elapsed, and they are actually sent the next Dispatch time. At that time, the packet bundling done by StreamBundling is flushed.

If 0, messages are accumulated and bundled up until the time just before packet transmission is performed at end of Dispatch. The packet bundling done by StreamBundling is not flushed, so this can be used in combination with packet bundling.

See Also

GetMaximumFlushDelay

Revision History

2011/01/28
Initial version.

CONFIDENTIAL