A connection can be in one of the following states:
Connections begin in the IDLE state (which is not seen by CCXML documents) and return to it when all other actions have been completed. Connection events are generated when a connection undergoes a transition between different states.