nn::nex::DirectStream::GetReceivedData Member Function

Syntax

void GetReceivedData(
     qVector< DirectStream::Data > & recvData
);

Parameters

Name Description
out recvData Specifies the location for storing received data.

Return Values

None.

Description

Gets the received data stored in the receive buffer with dispatch processes.

Data is stored in the receive buffer with dispatches until this function is called. Getting the received data by calling this function clears the receive buffer. If this function is not called and data continues to accumulate in the receive buffer until the buffer overflows, the fatal QERROR(Transport, NoBuffer) error occurs in NetZ::GetFatalError. If the receive buffer overflows, reduce the number of dispatches sent from other stations or increase the call frequency of this function according to how often the Scheduler::Dispatch or Scheduler::DispatchAll function is called.

Revision History

2014/04/16
Changed the notation for the QRESULT_ERROR fatal error to QERROR.
2012/04/10
Initial version.

CONFIDENTIAL