Bug 461625 - Use type-safe enums in qpid::client::Session methods
Summary: Use type-safe enums in qpid::client::Session methods
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Enterprise MRG
Classification: Red Hat
Component: qpid-cpp
Version: beta
Hardware: All
OS: Linux
low
medium
Target Milestone: 1.3
: ---
Assignee: Alan Conway
QA Contact: MRG Quality Engineering
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-09-09 15:29 UTC by Alan Conway
Modified: 2011-08-12 16:21 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-10-27 18:50:57 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Alan Conway 2008-09-09 15:29:30 UTC
Description of problem:

AMQP enum types now have corresponding C++ enum definitions in framing/enum.h,
however the Session method signatures still use integral types. They should use the enum types to prevent user error & support calls caused by using the wrong enum type or using an incorrect integer value for an enum argument.

Comment 2 Alan Conway 2009-10-27 18:50:57 UTC
With the new API this is no longer important.


Note You need to log in before you can comment on or make changes to this bug.