You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Alan Conway (JIRA)" <ji...@apache.org> on 2017/03/29 22:24:41 UTC
[jira] [Resolved] (PROTON-1452) add pn_proactor_disconnect
[ 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: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org