|
Odil
A C++11 library for the DICOM standard
|
Exception reported when an incoming association is rejected. More...
#include <AssociationAcceptor.h>


Public Member Functions | |
| AssociationRejected (unsigned char result, unsigned char source, unsigned char reason, std::string const &message="Association rejected") | |
| Constructor. More... | |
| unsigned char | get_result () const |
| Return the rejection result. More... | |
| void | set_result (unsigned char value) |
| Set the rejection result. More... | |
| unsigned char | get_source () const |
| Return the rejection source. More... | |
| void | set_source (unsigned char value) |
| Set the rejection source. More... | |
| unsigned char | get_reason () const |
| Return the rejection reason. More... | |
| void | set_reason (unsigned char value) |
| Set the rejection reason. More... | |
Public Member Functions inherited from odil::Exception | |
| Exception (std::string const &message="") | |
| Message string constructor. More... | |
| virtual | ~Exception () noexcept |
| Destructor. More... | |
| virtual const char * | what () const noexcept |
| Return the reason for the exception. More... | |
Additional Inherited Members | |
Protected Attributes inherited from odil::Exception | |
| std::string | _message |
| Message of the exception. More... | |
Exception reported when an incoming association is rejected.
| odil::AssociationRejected::AssociationRejected | ( | unsigned char | result, |
| unsigned char | source, | ||
| unsigned char | reason, | ||
| std::string const & | message = "Association rejected" |
||
| ) |
Constructor.
| unsigned char odil::AssociationRejected::get_reason | ( | ) | const |
Return the rejection reason.
| unsigned char odil::AssociationRejected::get_result | ( | ) | const |
Return the rejection result.
| unsigned char odil::AssociationRejected::get_source | ( | ) | const |
Return the rejection source.
| void odil::AssociationRejected::set_reason | ( | unsigned char | value | ) |
Set the rejection reason.
| void odil::AssociationRejected::set_result | ( | unsigned char | value | ) |
Set the rejection result.
| void odil::AssociationRejected::set_source | ( | unsigned char | value | ) |
Set the rejection source.
1.8.13