diff options
author | weidai <weidai11@users.noreply.github.com> | 2003-07-16 01:53:45 +0000 |
---|---|---|
committer | weidai <weidai11@users.noreply.github.com> | 2003-07-16 01:53:45 +0000 |
commit | 38b49e454399c81aac16279f78a834de26245bec (patch) | |
tree | 1f90c9ea7a31679b5c416408a3ffeba23e87d165 /channels.cpp | |
parent | 8cd6a9256d78953d6e99097fb4508a077e8e2ebe (diff) | |
download | cryptopp-git-38b49e454399c81aac16279f78a834de26245bec.tar.gz |
added support for using encoding parameters and key derivation parameters
Diffstat (limited to 'channels.cpp')
-rw-r--r-- | channels.cpp | 18 |
1 files changed, 4 insertions, 14 deletions
diff --git a/channels.cpp b/channels.cpp index 8cc3f6e9..4e77d692 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) |