summaryrefslogtreecommitdiff
path: root/ace/UPIPE_Connector.h
diff options
context:
space:
mode:
Diffstat (limited to 'ace/UPIPE_Connector.h')
-rw-r--r--ace/UPIPE_Connector.h39
1 files changed, 20 insertions, 19 deletions
diff --git a/ace/UPIPE_Connector.h b/ace/UPIPE_Connector.h
index 905da37b07e..5d605801c20 100644
--- a/ace/UPIPE_Connector.h
+++ b/ace/UPIPE_Connector.h
@@ -5,26 +5,27 @@
//
// = LIBRARY
// ace
-//
+//
// = FILENAME
// UPIPE_Connector.h
//
// = AUTHOR
// Gerhard Lenzer and Douglas C. Schmidt
-//
+//
// ============================================================================
#ifndef ACE_UPIPE_CONNECTOR_H
#define ACE_UPIPE_CONNECTOR_H
#include "ace/UPIPE_Stream.h"
-#include "ace/Synch.h"
-#include "ace/SPIPE_Stream.h"
#if !defined (ACE_LACKS_PRAGMA_ONCE)
-#pragma once
+# pragma once
#endif /* ACE_LACKS_PRAGMA_ONCE */
+#include "ace/Synch.h"
+#include "ace/SPIPE_Stream.h"
+
#if defined (ACE_HAS_THREADS)
class ACE_Export ACE_UPIPE_Connector : public ACE_SPIPE
@@ -37,13 +38,13 @@ public:
ACE_UPIPE_Connector (void);
// Default constructor.
- ACE_UPIPE_Connector (ACE_UPIPE_Stream &new_stream,
- const ACE_UPIPE_Addr &addr,
- ACE_Time_Value *timeout = 0,
- const ACE_Addr &local_sap = ACE_Addr::sap_any,
- int reuse_addr = 0,
- int flags = O_RDWR,
- int perms = 0);
+ ACE_UPIPE_Connector (ACE_UPIPE_Stream &new_stream,
+ const ACE_UPIPE_Addr &addr,
+ ACE_Time_Value *timeout = 0,
+ const ACE_Addr &local_sap = ACE_Addr::sap_any,
+ int reuse_addr = 0,
+ int flags = O_RDWR,
+ int perms = 0);
// Actively connect and produce a <new_stream> if things go well.
// The <remote_sap> is the address that we are trying to connect
// with. The <timeout> is the amount of time to wait to connect.
@@ -60,13 +61,13 @@ public:
// The <flags> and <perms> arguments are passed down to the open()
// method.
- int connect (ACE_UPIPE_Stream &new_stream,
- const ACE_UPIPE_Addr &addr,
- ACE_Time_Value *timeout = 0,
- const ACE_Addr &local_sap = ACE_Addr::sap_any,
- int reuse_addr = 0,
- int flags = O_RDWR,
- int perms = 0);
+ int connect (ACE_UPIPE_Stream &new_stream,
+ const ACE_UPIPE_Addr &addr,
+ ACE_Time_Value *timeout = 0,
+ const ACE_Addr &local_sap = ACE_Addr::sap_any,
+ int reuse_addr = 0,
+ int flags = O_RDWR,
+ int perms = 0);
// Actively connect and produce a <new_stream> if things go well.
// The <remote_sap> is the address that we are trying to connect
// with. The <timeout> is the amount of time to wait to connect.