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

Page 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

Image 18
Contents HP WebQoS on HP-UX API Programmer’s Guide Legal Notices Page Page Contents Troubleshooting Printing History Page About the WebQoS API Example Initial Service Request Example Subsequent Service RequestsOverview Example Setting the Process Group WebQoSOverview Using the WebQoS API Using the WebQoS API Wqgetsessioncls Error Code Description Return ValueWqsetsessioncls Cls Values Class of Request Cls Value Classification RuleExample Condition or Process Group Return ValueMultithreaded Applications Wqsetproccls Class Values Process GroupUsing the WebQoS API wqsetproccls Troubleshooting Checklist Select the Classification Rules tabRequest Classification Rule Class Error Codes Request Classification Rule Class Error Codes Process Group Error Codes Process Group Error Codes Error Code Wqerrother Error Code WqerrpermissionProcess Group Error Codes Sample Programs, Configuration, and Header Files Sample Session Class Program Sample Process Group Program Sample Process Group Program Svccls.allow Configuration File Webqosapi.h Header File Webqosapi.h Header File Webqosapi.h Header File Index Index Index
Related manuals
Manual 182 pages 33.13 Kb Manual 150 pages 36.15 Kb