Skip to content

Commit 2f17442

Browse files
author
Emile Joubert
committed
Rename connection opening method
1 parent a8adde7 commit 2f17442

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

projects/client/RabbitMQ.Client/src/client/impl/ConnectionBase.cs

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -971,10 +971,7 @@ private static uint NegotiatedMaxValue(uint clientValue, uint serverValue)
971971
Math.Min(clientValue, serverValue);
972972
}
973973

974-
/// <summary>
975-
/// Connection opening, common to all supported protocol versions
976-
/// </summary>
977-
protected void OpenCommon()
974+
protected void StartAndTune()
978975
{
979976
BlockingCell connectionStartCell = new BlockingCell();
980977
m_model0.m_connectionStartCell = connectionStartCell;
@@ -1038,7 +1035,7 @@ protected void OpenCommon()
10381035

10391036
public virtual void Open(bool insist)
10401037
{
1041-
OpenCommon();
1038+
StartAndTune();
10421039
string knownHosts = m_model0.ConnectionOpen(m_factory.VirtualHost,
10431040
"", // FIXME: make configurable?
10441041
insist);

projects/client/RabbitMQ.Client/src/client/impl/v0_9_1/Connection.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ public Connection(ConnectionFactory factory, bool insist, IFrameHandler frameHan
6464

6565
public override void Open(bool insist)
6666
{
67-
OpenCommon();
67+
StartAndTune();
6868
m_model0.ConnectionOpen(m_factory.VirtualHost, String.Empty, false);
6969
}
7070

0 commit comments

Comments
 (0)