States
States are the individual phases of driver function at runtime. During each state, a particular event happens that moves the message process forward or stops it, depending on whether it encounters an error condition.
This table shows the various states:
State | Description |
---|---|
NEW | The thread begins in the NEW state. |
IDLE | When initialized, the thread moves from NEW to IDLE and from WRITE to IDLE when the last WRITE function is completed. |
READING | The driver reads the inbound message. |
WRITING | The driver writes the outbound message. |
SHUTTING DOWN | The thread stops. |