From 42c3d8f3aa593c224174558fd6f3d2709e08f7d0 Mon Sep 17 00:00:00 2001 From: weidai Date: Wed, 16 Jul 2003 01:53:45 +0000 Subject: added support for using encoding parameters and key derivation parameters git-svn-id: svn://svn.code.sf.net/p/cryptopp/code/trunk/c5@98 57ff6487-cd31-0410-9ec3-f628ee90f5f0 --- channels.cpp | 18 ++++-------------- 1 file changed, 4 insertions(+), 14 deletions(-) (limited to 'channels.cpp') diff --git a/channels.cpp b/channels.cpp index 8cc3f6e..4e77d69 100644 --- a/channels.cpp +++ b/channels.cpp @@ -167,21 +167,11 @@ WasBlocked: return 0; } -void ChannelSwitch::ChannelInitialize(const std::string &channel, const NameValuePairs ¶meters/* =g_nullNameValuePairs */, int propagation/* =-1 */) +void ChannelSwitch::IsolatedInitialize(const NameValuePairs ¶meters/* =g_nullNameValuePairs */) { - if (channel.empty()) - { - m_routeMap.clear(); - m_defaultRoutes.clear(); - } - - m_it.Reset(channel); - - while (!m_it.End()) - { - m_it.Destination().ChannelInitialize(m_it.Channel(), parameters, propagation); - m_it.Next(); - } + m_routeMap.clear(); + m_defaultRoutes.clear(); + m_blocked = false; } bool ChannelSwitch::ChannelFlush(const std::string &channel, bool completeFlush, int propagation, bool blocking) -- cgit v1.2.1