![]() |
Diffusion Apple API 6.12.0
Unified Client Library for iOS, tvOS and OS X / macOS
|
Represents the current connection state of the remote server. More...
#include <PTDiffusionRemoteServerConnectionState.h>
Class Methods | |
| (instancetype) | + inactive |
| (instancetype) | + connected |
| (instancetype) | + retrying |
| (instancetype) | + failed |
| (instancetype) | + missing |
| Class Methods inherited from PTDiffusionEnumeration | |
| (NSSet< PTDiffusionEnumeration * > *) | + elements |
Additional Inherited Members | |
| Instance Methods inherited from PTDiffusionEnumeration | |
| (BOOL) | - isEqualToEnumeration: |
Represents the current connection state of the remote server.
This is used by the Remote Servers feature
| + (instancetype) connected |
The remote server is connected and actively in use by components that require it.
| + (instancetype) failed |
The connection failed to establish.
If the connection was in an inactive or failed state state, a test connection was tried and failed.
In this case [PTDiffusionCheckRemoteServerResult failureMessage] will provide more detail.
| + (instancetype) inactive |
The connection is inactive.
This means 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.
| + (instancetype) missing |
The named remote server did not exist.
| + (instancetype) retrying |
The connection has failed but a retry is scheduled.
In this case [PTDiffusionCheckRemoteServerResult failureMessage] will provide details of the failure that resulted in a retry.