Push Channel state. More...
Use these enumerated constants to check the state of a Push Channel. The getState accessor always returns one of these values.
Public Attributes | |
None | |
Open | |
Error | |
Closed | |
None |
Initial state, before opening.
Open |
The Push Channel is open. The connect method has been called and a Push Channel token has been issued. A message could be received on the channel.
Error |
There is an error on the Push Channel. If the initial connect fails, the channel enters this state instead of the open state. A channel can also enter this state later, after entering the open state, if a permanent error occurs.
If a Push Channel token had been issued, then it cannot be used any more. No (more) Push Channel messages will be received on this channel.
Closed |
The Push Channel is closed. The channel could have been closed by the remote end, or the application could have called disconnect .