20 references to ConnectionState
NuGet.Protocol (20)
Plugins\Connection.cs (18)
21
private int _state = (int)
ConnectionState
.ReadyToConnect;
26
public
ConnectionState
State => (
ConnectionState
)_state;
145
if (_state != (int)
ConnectionState
.Closed)
147
_state = (int)
ConnectionState
.Closing;
156
_state = (int)
ConnectionState
.Closed;
172
if (State !=
ConnectionState
.ReadyToConnect)
177
_state = (int)
ConnectionState
.Connecting;
191
_state = (int)
ConnectionState
.Handshaking;
199
_state = (int)
ConnectionState
.FailedToHandshake;
206
_state = (int)
ConnectionState
.FailedToHandshake;
211
_state = (int)
ConnectionState
.Connected;
234
if (State ==
ConnectionState
.Closing ||
235
State ==
ConnectionState
.Closed)
240
if (_state < (int)
ConnectionState
.Connecting)
279
if (State ==
ConnectionState
.Closing ||
280
State ==
ConnectionState
.Closed)
285
if (_state < (int)
ConnectionState
.Connecting)
Plugins\ConnectionState.cs (1)
10
/// For example, any connection state before <see cref="
ConnectionState
.Connecting" />
Plugins\PluginFactory.cs (1)
224
if (connection?.State ==
ConnectionState
.Handshaking)