Enum RemoteServerConnectionState

Represents the current connection state of the remote server.

Namespace: PushTechnology.ClientInterface.Client.Features.Control.Clients
Assembly: Diffusion.Client.dll
Syntax
public enum RemoteServerConnectionState : int

Fields

Name Description
CONNECTED

The remote server is connected.

For a ISecondaryInitiator this means that there are components actually using it.

A ISecondaryAcceptor can be in this state even if there are no components using it as a reverse connection is always maintained.

A IPrimaryInitiator will only be in this state if it has a successful connection to all secondary acceptors configured for it. If any secondary acceptor connection has failed then it will be in a FAILED state even if there are some active connections.

FAILED

The connection has failed.

If the connection was in an inactive or failed state, a test connection was tried and failed.

In this case FailureMessage will provide more detail.

INACTIVE

The connection is inactive.

For a ISecondaryInitiator this could also mean that the remote server can successfully connect but a physical connection is not being maintained as there are no components that require the remote server.

If in an inactive or failed state, a test connection will have been tried to check that the connection can be made and the connection will then have been closed.

MISSING

The named remote server did not exist.

RETRYING

The connection has failed but is retrying.

In this case FailureMessage will provide details of the failure that resulted in a retry.

Back to top