Session state represents the condition a session has in respect of connectivity to a Diffusion server.
A session state object is immutable.
- See Also
- PTDiffusionSessionStateChange
- Since
- 5.6
Compares the receiver to the given session state.
- Parameters
-
sessionState | The session state object with which to compare the receiver. |
- Returns
YES
if the given session state is equal to the receiver, otherwise NO
.
- Since
- 5.6
YES
if the session is closed, otherwise NO
.
This might mean that the session lost its connection to the server and could not be recovered.
- Since
- 5.6
YES
if the session has an active connection to the server, otherwise NO
.
- Since
- 5.6
If the session is closed then this property will be nil
if the closure was normal and expected, otherwise it will contain the failure reason.
- Note
- This property is to be considered as an auxiliary, informational attachment to this session state instance. As such it is not incorporated within the result of the hash method and is not checked on calls to isEqual: or isEqualToSessionState:.
- Since
- 5.9
YES
if the session is in the process of attempting reconnection to the server, otherwise NO
.
- Since
- 5.6