DCMTK
Version 3.6.1 20170228
OFFIS DICOM Toolkit
|
this class provides the functionality of the telnet initiator application More...
Public Member Functions | |
DcmQueryRetrieveTelnetInitiator (DcmQueryRetrieveConfig &cfg) | |
constructor More... | |
void | TI_userInput () |
main entry point for console-based user interface | |
OFBool | addPeerName (const char *peerName, const char *configFileName) |
add remote peer to list of peers More... | |
void | printConfig () |
print TI configuration to stdout | |
OFBool | TI_detachAssociation (OFBool abortFlag) |
detach current association More... | |
void | setAETitle (const char *ae) |
set local aetitle More... | |
void | setMaxPDU (OFCmdUnsignedInt pdu) |
set max receive PDU More... | |
void | activateFirstPeer () |
activate first peer in list of peers | |
T_ASC_Network ** | accessNet () |
provide read/write access to network structure maintained by this object. More... | |
int | getdbCount () const |
return number of databases | |
void | createConfigEntries (const char *configFileName, int remoteDBTitlesCount, const char **remoteDBTitles) |
create configuration entries for remote databases More... | |
void | setXferSyntax (E_TransferSyntax xfer) |
set the network transfer syntax More... | |
void | setBlockMode (T_DIMSE_BlockingMode blockMode, int timeout) |
set blocking mode and timeout for DIMSE operations More... | |
Private Attributes | |
TI_DBEntry ** | dbEntries |
the CTN databases we know | |
int | dbCount |
number of entries in databases we know | |
const char * | peerHostName |
current peer to talk to | |
const char * | peerNames [TI_MAXPEERS] |
list of peer names | |
int | peerNamesCount |
number of peer names in list | |
const char * | myAETitle |
my application entity title | |
T_ASC_Network * | net |
active network | |
T_ASC_Association * | assoc |
currently active association | |
OFCmdUnsignedInt | maxReceivePDULength |
number of bytes per PDU we can receive | |
int | currentdb |
current database index | |
const char * | currentPeerTitle |
current peer title | |
DcmQueryRetrieveConfig & | config |
configuration facility | |
E_TransferSyntax | networkTransferSyntax |
network transfer syntax | |
T_DIMSE_BlockingMode | blockMode_ |
blocking mode for DIMSE operations | |
int | dimse_timeout_ |
timeout for DIMSE operations | |
this class provides the functionality of the telnet initiator application
DcmQueryRetrieveTelnetInitiator::DcmQueryRetrieveTelnetInitiator | ( | DcmQueryRetrieveConfig & | cfg | ) |
constructor
cfg | configuration facility |
|
inline |
provide read/write access to network structure maintained by this object.
Yes, this is ugly.
OFBool DcmQueryRetrieveTelnetInitiator::addPeerName | ( | const char * | peerName, |
const char * | configFileName | ||
) |
add remote peer to list of peers
peerName | name of peer |
configFileName | name of configuration file from which peer was read |
void DcmQueryRetrieveTelnetInitiator::createConfigEntries | ( | const char * | configFileName, |
int | remoteDBTitlesCount, | ||
const char ** | remoteDBTitles | ||
) |
create configuration entries for remote databases
configFileName | name of configuration file |
remoteDBTitlesCount | number of remote DB titles |
remoteDBTitles | list of remote DB titles |
|
inline |
set local aetitle
ae | aetitle |
|
inline |
set blocking mode and timeout for DIMSE operations
blockMode | blocking mode for DIMSE operations |
timeout | timeout for DIMSE operations |
|
inline |
set max receive PDU
pdu | max receive PDU size |
|
inline |
set the network transfer syntax
xfer | new network transfer syntax |
detach current association
abortFlag | if true, abort association instead of releasing it |