PACS System 0.1.0
PACS DICOM system library
Loading...
Searching...
No Matches
kcenon::pacs::events::association_established_event Struct Reference

Event published when a DICOM association is successfully established. More...

#include <events.h>

Collaboration diagram for kcenon::pacs::events::association_established_event:
Collaboration graph

Public Member Functions

 association_established_event (std::string calling, std::string called, std::string host, uint16_t port, uint32_t pdu_size)
 

Public Attributes

std::string calling_ae
 
std::string called_ae
 
std::string remote_host
 
uint16_t remote_port
 
uint32_t max_pdu_size
 
std::chrono::steady_clock::time_point timestamp
 

Detailed Description

Event published when a DICOM association is successfully established.

This event is triggered after successful A-ASSOCIATE-AC exchange.

Definition at line 35 of file events.h.

Constructor & Destructor Documentation

◆ association_established_event()

kcenon::pacs::events::association_established_event::association_established_event ( std::string calling,
std::string called,
std::string host,
uint16_t port,
uint32_t pdu_size )
inline

Definition at line 43 of file events.h.

48 : calling_ae(std::move(calling)),
49 called_ae(std::move(called)),
50 remote_host(std::move(host)),
51 remote_port(port),
52 max_pdu_size(pdu_size),
53 timestamp(std::chrono::steady_clock::now()) {}
std::chrono::steady_clock::time_point timestamp
Definition events.h:41

Member Data Documentation

◆ called_ae

std::string kcenon::pacs::events::association_established_event::called_ae

Definition at line 37 of file events.h.

◆ calling_ae

std::string kcenon::pacs::events::association_established_event::calling_ae

Definition at line 36 of file events.h.

◆ max_pdu_size

uint32_t kcenon::pacs::events::association_established_event::max_pdu_size

Definition at line 40 of file events.h.

◆ remote_host

std::string kcenon::pacs::events::association_established_event::remote_host

Definition at line 38 of file events.h.

◆ remote_port

uint16_t kcenon::pacs::events::association_established_event::remote_port

Definition at line 39 of file events.h.

◆ timestamp

std::chrono::steady_clock::time_point kcenon::pacs::events::association_established_event::timestamp

Definition at line 41 of file events.h.


The documentation for this struct was generated from the following file: