Share via


WAP_PRIMITIVE_TYPE (Compact 2013)

3/26/2014

This enumeration defines the types of service primitives.

Syntax

enum WAP_PRIMITIVE_TYPE{
    WAP_PRIMITIVE_TYPE_REQUEST = 1,
    WAP_PRIMITIVE_TYPE_INDICATION,
    WAP_PRIMITIVE_TYPE_RESPONSE,
    WAP_PRIMITIVE_TYPE_CONFIRM
};

Elements

  • WAP_PRIMITIVE_TYPE_REQUEST
    A request for service.
  • WAP_PRIMITIVE_TYPE_INDICATION
    A notification of activities.
  • WAP_PRIMITIVE_TYPE_RESPONSE
    A response to receipt of an "Indication" primitive.
  • WAP_PRIMITIVE_TYPE_CONFIRM
    A confirmation that a "Request" primitive was successfully completed.

Remarks

Each primitive also has an identifier, as defined by the WAP_PRIMITIVE_ID enumeration.

Requirements

Header

wap.h

See Also

Reference

WAP Enumerations
WAP_PRIMITIVE_ID