Skip to content
Start free evaluation

pdcomm_gem_spool_stop_transmit

Function

Ends the current transmission run.

PdcommStatus pdcomm_gem_spool_stop_transmit(PdcommTcpEndpoint *endpoint)

Declared in: #include <pdcomm_gem_spooling.h>

Allowed only when no delivery is in flight and no acknowledged dequeue is pending. Spooled messages are kept.

Parameters

NameDescription
endpointEndpoint with an Equipment spool.

Returns

#PDCOMM_OK on success; #PDCOMM_BACKPRESSURE when a delivery or dequeue is pending or a staged TCP event is pending; #PDCOMM_INVALID_STATE when no Equipment spool is configured; #PDCOMM_INVALID_ARGUMENT for a NULL endpoint, or #PDCOMM_POISONED.