summaryrefslogtreecommitdiff
path: root/cpp/src/Ice/SUdpControlChannel.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/Ice/SUdpControlChannel.cpp')
-rw-r--r--cpp/src/Ice/SUdpControlChannel.cpp79
1 files changed, 40 insertions, 39 deletions
diff --git a/cpp/src/Ice/SUdpControlChannel.cpp b/cpp/src/Ice/SUdpControlChannel.cpp
index ecf711ed119..5d397669827 100644
--- a/cpp/src/Ice/SUdpControlChannel.cpp
+++ b/cpp/src/Ice/SUdpControlChannel.cpp
@@ -1,39 +1,40 @@
-// **********************************************************************
-//
-// Copyright (c) 2001
-// MutableRealms, Inc.
-// Huntsville, AL, USA
-//
-// All Rights Reserved
-//
-// **********************************************************************
-
-#include <Ice/SUdpControlChannel.h>
-#include <Ice/Instance.h>
-
-using namespace std;
-using namespace Ice;
-
-void IceInternal::incRef(::IceSecurity::SecureUdp::ControlChannel* p) { p->__incRef(); }
-void IceInternal::decRef(::IceSecurity::SecureUdp::ControlChannel* p) { p->__decRef(); }
-
-IceSecurity::SecureUdp::ControlChannel::ControlChannel(const SUdpTransceiverPtr& transceiver,
- const InstancePtr& instance) :
- _transceiver(transceiver),
- _instance(instance)
-{
- assert(transceiver);
-}
-
-IceSecurity::SecureUdp::ControlChannel::~ControlChannel()
-{
- unsetTransceiver();
-}
-
-void
-IceSecurity::SecureUdp::ControlChannel::unsetTransceiver()
-{
- IceUtil::Mutex::Lock sync(_mutex);
- _transceiver = 0;
-}
-
+// **********************************************************************
+//
+// Copyright (c) 2001
+// MutableRealms, Inc.
+// Huntsville, AL, USA
+//
+// All Rights Reserved
+//
+// **********************************************************************
+
+#include <Ice/SUdpControlChannel.h>
+#include <Ice/Instance.h>
+
+using namespace std;
+using namespace Ice;
+
+void ::IceInternal::incRef(::IceSecurity::SecureUdp::ControlChannel* p) { p->__incRef(); }
+void ::IceInternal::decRef(::IceSecurity::SecureUdp::ControlChannel* p) { p->__decRef(); }
+
+IceSecurity::SecureUdp::ControlChannel::ControlChannel(const SUdpTransceiverPtr& transceiver,
+ const InstancePtr& instance) :
+ _transceiver(transceiver),
+ _instance(instance)
+{
+ assert(transceiver);
+}
+
+IceSecurity::SecureUdp::ControlChannel::~ControlChannel()
+{
+ unsetTransceiver();
+}
+
+void
+IceSecurity::SecureUdp::ControlChannel::unsetTransceiver()
+{
+ IceUtil::Mutex::Lock sync(_mutex);
+ _transceiver = 0;
+}
+
+