diff options
author | Chris Cleeland <chris.cleeland@gmail.com> | 1997-10-22 18:29:50 +0000 |
---|---|---|
committer | Chris Cleeland <chris.cleeland@gmail.com> | 1997-10-22 18:29:50 +0000 |
commit | bdf5582461b4c2376e6f002b13a03a2af44ae785 (patch) | |
tree | 3d63c7832a51513411b1d553ce3f77c3d3a1f1ec /ace/Connector.h | |
parent | e61cd13dadf9082911f772c5e96dd95986b3a3cb (diff) | |
download | ATCD-bdf5582461b4c2376e6f002b13a03a2af44ae785.tar.gz |
connect_n changes.
Diffstat (limited to 'ace/Connector.h')
-rw-r--r-- | ace/Connector.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/ace/Connector.h b/ace/Connector.h index 80c9968b719..7f9d8f1127e 100644 --- a/ace/Connector.h +++ b/ace/Connector.h @@ -148,10 +148,14 @@ public: virtual int connect_n (size_t n, SVC_HANDLER *svc_handlers[], ACE_PEER_CONNECTOR_ADDR remote_addrs[], + char failed_svc_handlers[] = 0, const ACE_Synch_Options &synch_options = ACE_Synch_Options::defaults); // Initiate connection of <n> <svc_handlers> to peers at // <remote_addrs> using <synch_options>. Returns -1 if failure - // occurs, otherwise returns the number of handlers connected. + // occurs and 0 otherwise. If <failed_svc_handlers> is non-NULL, a + // 1 is placed in the corresponding index of <failed_svc_handler> + // for each <svc_handlers[i]> that failed to connect, else a 0 is + // placed in that index. virtual int cancel (SVC_HANDLER *svc_handler); // Cancel a <svc_handler> that was started asynchronously. Note that |