Using the WebQoS API wq_get_session_cls()
Return Value
wq_get_session_cls() returns a
Table | wq_get_session_cls() Return Values | |
|
|
|
| Return Values | Condition or |
|
| Class of Request |
|
| Classification Rule |
|
|
|
| Error | |
|
|
|
| WQ_UCLASS_LOW | Low |
|
|
|
| WQ_UCLASS_MED | Medium |
|
|
|
| WQ_UCLASS_HIGH | High |
|
|
|
Errors
| When an error occurs, errorcode is set to one of the following: | |
Table | wq_get_session_cls() Error Codes | |
|
|
|
| Error Code | Description |
|
|
|
| WQERR_INVALD_SOCKID | A bad socketid value was passed to |
|
| wq_get_session_cls(). |
|
|
|
| WQERR_USRCLAS_OTHER | An internal request classification rule class |
|
| error occurred. |
|
|
|
| WQERR_WQOS_DISABLED | WebQoS is disabled and cannot provide the |
|
| request classification rule information. |
|
|
|
Example
See Appendix A , “Sample Programs, Configuration, and Header Files,” on page 33 for an example.
16 | Chapter 2 |