diff options
Diffstat (limited to 'cpp/src/Ice/SUdpControlChannel.cpp')
-rw-r--r-- | cpp/src/Ice/SUdpControlChannel.cpp | 46 |
1 files changed, 0 insertions, 46 deletions
diff --git a/cpp/src/Ice/SUdpControlChannel.cpp b/cpp/src/Ice/SUdpControlChannel.cpp deleted file mode 100644 index 1711983ffca..00000000000 --- a/cpp/src/Ice/SUdpControlChannel.cpp +++ /dev/null @@ -1,46 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2001 -// MutableRealms, Inc. -// Huntsville, AL, USA -// -// All Rights Reserved -// -// ********************************************************************** - -#include <Ice/Logger.h> -#include <Ice/TraceLevels.h> -#include <Ice/SUdpControlChannel.h> -#include <Ice/Cryptor.h> -#include <Ice/Instance.h> - -using namespace std; -using namespace Ice; - -void ::IceInternal::incRef(::SecureUdp::ControlChannel* p) { p->__incRef(); } -void ::IceInternal::decRef(::SecureUdp::ControlChannel* p) { p->__decRef(); } - -SecureUdp::ControlChannel::ControlChannel(IceInternal::SUdpTransceiver* transceiver, - const IceInternal::InstancePtr& instance) : - _transceiver(transceiver), - _instance(instance), - _traceLevels(instance->traceLevels()), - _logger(instance->logger()) -{ - assert(transceiver); - - _cryptor = new Cryptor(); -} - -SecureUdp::ControlChannel::~ControlChannel() -{ - unsetTransceiver(); -} - -void -SecureUdp::ControlChannel::unsetTransceiver() -{ - IceUtil::Mutex::Lock sync(_mutex); - _transceiver = 0; -} - |