summaryrefslogtreecommitdiff
path: root/ace/Connector.h
diff options
context:
space:
mode:
authorChris Cleeland <chris.cleeland@gmail.com>1997-10-22 18:29:50 +0000
committerChris Cleeland <chris.cleeland@gmail.com>1997-10-22 18:29:50 +0000
commitbdf5582461b4c2376e6f002b13a03a2af44ae785 (patch)
tree3d63c7832a51513411b1d553ce3f77c3d3a1f1ec /ace/Connector.h
parente61cd13dadf9082911f772c5e96dd95986b3a3cb (diff)
downloadATCD-bdf5582461b4c2376e6f002b13a03a2af44ae785.tar.gz
connect_n changes.
Diffstat (limited to 'ace/Connector.h')
-rw-r--r--ace/Connector.h6
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