Public Member Functions |
| | 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
|
Private Member Functions |
|
OFBool | TI_attachAssociation () |
|
OFBool | TI_changeAssociation () |
|
OFBool | TI_sendEcho () |
|
OFBool | TI_storeImage (char *sopClass, char *sopInstance, char *imgFile) |
|
OFBool | TI_remoteFindQuery (TI_DBEntry *db, DcmDataset *query, TI_GenericEntryCallbackFunction callbackFunction, TI_GenericCallbackStruct *callbackData) |
|
OFBool | TI_title (int arg, const char *) |
|
OFBool | TI_attachDB (TI_DBEntry *db) |
|
OFBool | TI_database (int arg, const char *) |
|
OFBool | TI_echo (int arg, const char *) |
|
OFBool | TI_quit (int arg, const char *) |
|
OFBool | TI_actualizeStudies () |
|
OFBool | TI_study (int arg, const char *) |
|
OFBool | TI_actualizeSeries () |
|
OFBool | TI_series (int arg, const char *) |
|
OFBool | TI_actualizeImages () |
|
OFBool | TI_image (int arg, const char *) |
|
OFBool | TI_buildStudies (TI_DBEntry *db) |
|
OFBool | TI_buildSeries (TI_DBEntry *db, TI_StudyEntry *study) |
|
OFBool | TI_buildRemoteImages (TI_DBEntry *db, TI_StudyEntry *study, TI_SeriesEntry *series) |
|
OFBool | TI_buildImages (TI_DBEntry *db, TI_StudyEntry *study, TI_SeriesEntry *series) |
|
OFBool | TI_sendStudy (int arg, const char *) |
|
OFBool | TI_sendSeries (int arg, const char *) |
|
OFBool | TI_sendImage (int arg, const char *) |
|
OFBool | TI_send (int, const char *cmdbuf) |
|
OFBool | TI_shortHelp (int, const char *) |
|
OFBool | TI_help (int arg, const char *) |
|
OFBool | TI_buildRemoteStudies (TI_DBEntry *db) |
|
OFBool | TI_buildRemoteSeries (TI_DBEntry *db, TI_StudyEntry *study) |
|
OFBool | TI_dbReadable (const char *dbTitle) |
|
time_t | TI_dbModifyTime (const char *dbTitle) |
|
OFCondition | addPresentationContexts (T_ASC_Parameters *params) |
|
OFBool | findDBPeerTitles (const char *configFileName, TI_DBEntry *dbEntry, const char *peer) |
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