[ 
https://issues.apache.org/jira/browse/PROTON-1452?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15948004#comment-15948004
 ] 

ASF subversion and git services commented on PROTON-1452:
---------------------------------------------------------

Commit edebc4ecf693514fe3becd64bbeb1c8361b31e62 in qpid-proton's branch 
refs/heads/master from [~aconway]
[ https://git-wip-us.apache.org/repos/asf?p=qpid-proton.git;h=edebc4e ]

PROTON-1452: Add pn_proactor_disconnect

/**
 * 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);


> 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