summaryrefslogtreecommitdiff
path: root/ace/DEV_Connector.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ace/DEV_Connector.cpp')
-rw-r--r--ace/DEV_Connector.cpp25
1 files changed, 11 insertions, 14 deletions
diff --git a/ace/DEV_Connector.cpp b/ace/DEV_Connector.cpp
index 5c577754481..3bb63a3aae1 100644
--- a/ace/DEV_Connector.cpp
+++ b/ace/DEV_Connector.cpp
@@ -9,11 +9,7 @@
#include "ace/DEV_Connector.inl"
#endif /* __ACE_INLINE__ */
-
-ACE_RCSID (ace,
- DEV_Connector,
- "$Id$")
-
+ACE_RCSID(ace, DEV_Connector, "$Id$")
ACE_ALLOC_HOOK_DEFINE(ACE_DEV_Connector)
@@ -32,19 +28,20 @@ ACE_DEV_Connector::ACE_DEV_Connector (void)
int
ACE_DEV_Connector::connect (ACE_DEV_IO &new_io,
- const ACE_DEV_Addr &remote_sap,
- ACE_Time_Value *timeout,
- const ACE_Addr &,
- int,
- int flags,
- int perms)
+ const ACE_DEV_Addr &remote_sap,
+ ACE_Time_Value *timeout,
+ const ACE_Addr &,
+ int,
+ int flags,
+ int perms)
{
ACE_TRACE ("ACE_DEV_Connector::connect");
- ACE_HANDLE handle = ACE::handle_timed_open (timeout,
- remote_sap.get_path_name (),
- flags, perms);
+ ACE_HANDLE handle = ACE_Handle_Ops::handle_timed_open (timeout,
+ remote_sap.get_path_name (),
+ flags, perms);
new_io.set_handle (handle);
new_io.addr_ = remote_sap; // class copy.
return handle == ACE_INVALID_HANDLE ? -1 : 0;
}
+