20 references to ConnectionState
NuGet.Protocol (20)
Plugins\Connection.cs (18)
23
private int _state = (int)
ConnectionState
.ReadyToConnect;
28
public
ConnectionState
State => (
ConnectionState
)_state;
147
if (_state != (int)
ConnectionState
.Closed)
149
_state = (int)
ConnectionState
.Closing;
158
_state = (int)
ConnectionState
.Closed;
174
if (State !=
ConnectionState
.ReadyToConnect)
179
_state = (int)
ConnectionState
.Connecting;
193
_state = (int)
ConnectionState
.Handshaking;
201
_state = (int)
ConnectionState
.FailedToHandshake;
208
_state = (int)
ConnectionState
.FailedToHandshake;
213
_state = (int)
ConnectionState
.Connected;
236
if (State ==
ConnectionState
.Closing ||
237
State ==
ConnectionState
.Closed)
242
if (_state < (int)
ConnectionState
.Connecting)
281
if (State ==
ConnectionState
.Closing ||
282
State ==
ConnectionState
.Closed)
287
if (_state < (int)
ConnectionState
.Connecting)
Plugins\ConnectionState.cs (1)
10
/// For example, any connection state before <see cref="
ConnectionState
.Connecting" />
Plugins\PluginFactory.cs (1)
219
if (connection?.State ==
ConnectionState
.Handshaking)