pdcomm_gem_spool_stop_transmit
Function
Ends the current transmission run.
PdcommStatus pdcomm_gem_spool_stop_transmit(PdcommTcpEndpoint *endpoint)Allowed only when no delivery is in flight and no acknowledged dequeue is pending. Spooled messages are kept.
Parameters
| Name | Description |
|---|---|
endpoint | Endpoint 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.