mirror of
https://github.com/FabInfra/capnproto-dotnetcore_Runtime.git
synced 2025-03-12 23:01:44 +01:00
25 lines
709 B
C#
25 lines
709 B
C#
namespace Capnp.Rpc
|
|
{
|
|
/// <summary>
|
|
/// State of an RPC connection
|
|
/// </summary>
|
|
public enum ConnectionState
|
|
{
|
|
/// <summary>
|
|
/// Connection is being initialized. This is a transient state. For TcpRpcServer it is active during
|
|
/// the OnConnectionChanged event callback. For TcpRpcClient it is active before the connection is established.
|
|
/// </summary>
|
|
Initializing,
|
|
|
|
/// <summary>
|
|
/// Connection is active.
|
|
/// </summary>
|
|
Active,
|
|
|
|
/// <summary>
|
|
/// Connection is down. It will never be active again (re-connecting means to establish a new connection).
|
|
/// </summary>
|
|
Down
|
|
}
|
|
}
|