A connection can operate in either started or stopped mode.
When an application creates a connection, the connection is in stopped mode. When the connection is in stopped mode, the application can send messages but cannot receive messages, either synchronously or asynchronously. The application can use the time while the connection is in stopped mode to initialize sessions.
An application can start a connection by calling the Start Connection method. When the connection is in started mode, the application can send and receive messages. The application can then stop and restart the connection by calling the Stop Connection and Start Connection methods.