[ 
https://issues.apache.org/jira/browse/PROTON-1452?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Alan Conway resolved PROTON-1452.
---------------------------------
    Resolution: Fixed

> add pn_proactor_disconnect
> --------------------------
>
>                 Key: PROTON-1452
>                 URL: https://issues.apache.org/jira/browse/PROTON-1452
>             Project: Qpid Proton
>          Issue Type: New Feature
>          Components: proton-c
>    Affects Versions: 0.17.0
>            Reporter: Alan Conway
>            Assignee: Alan Conway
>             Fix For: 0.18.0
>
>
> Add this function:
> {code}
> /**
>  * Disconnect all connections and listeners currently active in the proactor.
>  *
>  * PN_LISTENER_CLOSE, PN_TRANSPORT_CLOSED and other events are generated as 
> usual.
>  * If no new listeners or connections are created, then a 
> PN_PROACTOR_INACTIVE event
>  * will be generated when all connections and listeners are disconnected.
>  *
>  * Note the proactor remains active, connections and listeners created after 
> a call to
>  * pn_proactor_disconnect() are not affected by it.
>  *
>  * @param condition if not NULL the condition data is copied to the 
> transports and listeners.
>  */
> PNP_EXTERN void pn_proactor_disconnect(pn_proactor_t *proactor, 
> pn_condition_t *condition);
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to