this class provides the functionality of the telnet initiator application
More...
|
| DcmQueryRetrieveTelnetInitiator (DcmQueryRetrieveConfig &cfg) |
| constructor
|
|
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
|
|
void | printConfig () |
| print TI configuration to stdout
|
|
OFBool | TI_detachAssociation (OFBool abortFlag) |
| detach current association
|
|
void | setAETitle (const char *ae) |
| set local aetitle
|
|
void | setMaxPDU (OFCmdUnsignedInt pdu) |
| set max receive PDU
|
|
void | activateFirstPeer () |
| activate first peer in list of peers
|
|
T_ASC_Network ** | accessNet () |
| provide read/write access to network structure maintained by this object.
|
|
int | getdbCount () const |
| return number of databases
|
|
void | createConfigEntries (const char *configFileName, int remoteDBTitlesCount, const char **remoteDBTitles) |
| create configuration entries for remote databases
|
|
void | setXferSyntax (E_TransferSyntax xfer) |
| set the network transfer syntax
|
|
void | setBlockMode (T_DIMSE_BlockingMode blockMode, int timeout) |
| set blocking mode and timeout for DIMSE operations
|
|
|
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()
constructor
- Parameters
-
cfg | configuration facility |
◆ accessNet()
provide read/write access to network structure maintained by this object.
Yes, this is ugly.
- Returns
- pointer to pointer to network structure
◆ addPeerName()
OFBool DcmQueryRetrieveTelnetInitiator::addPeerName |
( |
const char * | peerName, |
|
|
const char * | configFileName ) |
add remote peer to list of peers
- Parameters
-
peerName | name of peer |
configFileName | name of configuration file from which peer was read |
◆ createConfigEntries()
void DcmQueryRetrieveTelnetInitiator::createConfigEntries |
( |
const char * | configFileName, |
|
|
int | remoteDBTitlesCount, |
|
|
const char ** | remoteDBTitles ) |
create configuration entries for remote databases
- Parameters
-
configFileName | name of configuration file |
remoteDBTitlesCount | number of remote DB titles |
remoteDBTitles | list of remote DB titles |
◆ setAETitle()
void DcmQueryRetrieveTelnetInitiator::setAETitle |
( |
const char * | ae | ) |
|
|
inline |
set local aetitle
- Parameters
-
◆ setBlockMode()
void DcmQueryRetrieveTelnetInitiator::setBlockMode |
( |
T_DIMSE_BlockingMode | blockMode, |
|
|
int | timeout ) |
|
inline |
set blocking mode and timeout for DIMSE operations
- Parameters
-
blockMode | blocking mode for DIMSE operations |
timeout | timeout for DIMSE operations |
◆ setMaxPDU()
void DcmQueryRetrieveTelnetInitiator::setMaxPDU |
( |
OFCmdUnsignedInt | pdu | ) |
|
|
inline |
set max receive PDU
- Parameters
-
◆ setXferSyntax()
set the network transfer syntax
- Parameters
-
xfer | new network transfer syntax |
◆ TI_detachAssociation()
OFBool DcmQueryRetrieveTelnetInitiator::TI_detachAssociation |
( |
OFBool | abortFlag | ) |
|
detach current association
- Parameters
-
abortFlag | if true, abort association instead of releasing it |
The documentation for this class was generated from the following file:
- dcmqrdb/include/dcmtk/dcmqrdb/dcmqrtis.h