namespace Capnp.Rpc
{
///
/// State of an RPC connection
///
public enum ConnectionState
{
///
/// 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.
///
Initializing,
///
/// Connection is active.
///
Active,
///
/// Connection is down. It will never be active again (re-connecting means to establish a new connection).
///
Down
}
}