HP WebQoS Software manual Cls Values, Class of Request Cls Value Classification Rule

Models: WebQoS Software

1 43
Download 43 pages 2.68 Kb
Page 18
Image 18

Using the WebQoS API wq_set_session_cls()

cls Values

 

Use the following values to set the request classification rule class cls:

Table 2-3

wq_set_session_cls() cls Values

 

 

 

 

 

Class of Request

cls Value

 

 

Classification Rule

 

 

 

 

 

 

 

Low

WQ_UCLASS_LOW

 

 

 

 

 

 

Medium

WQ_UCLASS_MED

 

 

 

 

 

 

High

WQ_UCLASS_HIGH

 

 

 

 

 

Return Value

wq_set_session_cls() returns 0 if it is successful or -1 if an error occurred.

Errors

 

When an error occurs, errorcode is set to one of the following:

Table 2-4

wq_set_session_cls() Error Codes

 

 

 

 

Error Code

Description

 

 

 

 

WQERR_INVAL_USER_CLS

The value provided for cls is not a defined request

 

 

classification rule class.

 

 

 

 

WQERR_INVALD_SOCKID

A bad socketid value was passed to

 

 

wq_set_session_cls().

 

 

 

 

WQERR_PLCY_DISALLOW

The WebQoS administrator has not configured a

 

 

policy allowing applications to modify its request

 

 

classification rule class.

 

 

 

 

WQERR_USRCLAS_OTHER

An internal request classification rule class error

 

 

occurred.

 

 

 

 

WQERR_WQOS_DISABLED

WebQoS is disabled and cannot set the request

 

 

classification rule class.

 

 

 

18

Chapter 2

Page 18
Image 18
HP WebQoS Software manual Cls Values, Class of Request Cls Value Classification Rule