Пример #1
0
void PerProdNotifier::notify_of_eop()
{
    if (eop_func(obj)) {
        throw std::runtime_error(std::string(
                "Error notifying receiving application of end of product"));
    }
}
Пример #2
0
/**
 * Notifies the sending application when the FMTP layer is done with a product.
 *
 * @param[in,out] prodIndex             Index of the product.
 */
void PerProdSendingNotifier::notify_of_eop(
        const FmtpProdIndex prodIndex)
{
    eop_func(prodIndex);
}