summaryrefslogtreecommitdiff
path: root/ace/UPIPE_Connector.i
diff options
context:
space:
mode:
authorlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1996-10-21 21:41:34 +0000
committerlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1996-10-21 21:41:34 +0000
commita5fdebc5f6375078ec1763850a4ca23ec7fe6458 (patch)
treebcf0a25c3d45a209a6e3ac37b233a4812f29c732 /ace/UPIPE_Connector.i
downloadATCD-a5fdebc5f6375078ec1763850a4ca23ec7fe6458.tar.gz
Initial revision
Diffstat (limited to 'ace/UPIPE_Connector.i')
-rw-r--r--ace/UPIPE_Connector.i30
1 files changed, 30 insertions, 0 deletions
diff --git a/ace/UPIPE_Connector.i b/ace/UPIPE_Connector.i
new file mode 100644
index 00000000000..5404622af03
--- /dev/null
+++ b/ace/UPIPE_Connector.i
@@ -0,0 +1,30 @@
+/* -*- C++ -*- */
+// $Id$
+
+// UPIPE_Connector.i
+
+#include "ace/Log_Msg.h"
+
+// Creates a Local ACE_UPIPE.
+
+inline
+ACE_UPIPE_Connector::ACE_UPIPE_Connector (ACE_UPIPE_Stream &new_stream,
+ const ACE_UPIPE_Addr &addr,
+ ACE_Time_Value *timeout,
+ const ACE_Addr &local_sap,
+ int reuse_addr,
+ int flags,
+ int perms)
+{
+ ACE_TRACE ("ACE_UPIPE_Connector::ACE_UPIPE_Connector");
+ if (this->connect (new_stream, addr, timeout, local_sap,
+ reuse_addr, flags, perms) == -1
+ && timeout != 0 && !(errno == EWOULDBLOCK || errno == ETIMEDOUT))
+ ACE_ERROR ((LM_ERROR, "address %s, %p\n",
+ addr.get_path_name (), "ACE_UPIPE_Connector"));
+}
+
+
+
+
+