dcmtkpp
|
Wrapper around the T_ASC_Network class. More...
#include <Network.h>
Public Member Functions | |
Network () | |
Create a default, un-initialized, network. | |
Network (T_ASC_NetworkRole role, int port, int timeout, unsigned long options=0) | |
Create an un-initialized network. | |
Network (Network const &other) | |
Create an un-initialized network. | |
~Network () | |
Destroy the network, dropping it if necessary. | |
Network & | operator= (Network const &other) |
Assing an un-initialized network; it remains un-initialized. | |
T_ASC_NetworkRole | get_role () const |
Return the role of the network, defaults to NET_REQUESTOR. | |
void | set_role (T_ASC_NetworkRole role) |
Set the role of the network. | |
int | get_port () const |
Return the port for acceptor role, defaults to 0. | |
void | set_port (int port) |
Set the port for acceptor role. | |
int | get_timeout () const |
Return the timeout in seconds, defaults to 30. | |
void | set_timeout (int timeout) |
Set the timeout in seconds. | |
unsigned long | get_options () const |
Return the options, defaults to 0. | |
void | set_options (unsigned long options) |
the set options. | |
void | initialize () |
Initialize the network. | |
T_ASC_Network * | get_network () |
Return the underlying DCMTK object. | |
bool | is_association_waiting (int const timeout) |
Test whether an association request is waiting. | |
void | drop () |
Drop (i.e. un-initialize) the network. | |
bool | is_initialized () const |
Test whether the network is initialized. | |
Wrapper around the T_ASC_Network class.
No member can be set while the network is initialized.