This chapter describes the checks that the Channel Manager makes for its channels:
A channel can have one of the following states:
The Channel Manager has N channels to handle. A "connected" channel has an associated device and client application. The Channel Manager reads incoming bytes on each of the connected channels and sends the data to the client application.
Each channel (actually, each plug-in) has a maximum usage time. When this time is exceeded, then a message is sent to the client application: "Please disconnect".
A timeplan can be assigned to each device. The Channel Manager goes through all devices, and associated timeplan, and will determine the time of next poll. When a poll is pending, then the state of the device is set to CMGR_TRY_TO_CONNECT. This will eventually cause a connection being established.
Hanging-up a channel can take some time (for example: you need the standard Hayes modem command 'ATH' to hang up the modem, and then wait for the answer of the modem). |
V 3.11 SP1
Copyright