Enum RemoteServerConnectionState
- Assembly
- Diffusion.Client.dll
Represents the current connection state of the remote server.
public enum RemoteServerConnectionState
Fields
CONNECTED = 1The 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 = 3The 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 = 0The 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 = 4The named remote server did not exist.
RETRYING = 2The connection has failed but is retrying.
In this case FailureMessage will provide details of the failure that resulted in a retry.