Public Member Functions | |
WlmActivityManager (WlmDataSource *dataSourcev, OFCmdUnsignedInt opt_portv, OFBool opt_refuseAssociationv, OFBool opt_rejectWithoutImplementationUIDv, OFCmdUnsignedInt opt_sleepAfterFindv, OFCmdUnsignedInt opt_sleepDuringFindv, OFCmdUnsignedInt opt_maxPDUv, E_TransferSyntax opt_networkTransferSyntaxv, OFBool opt_verbosev, OFBool opt_debugv, OFBool opt_failInvalidQueryv, OFBool opt_singleProcessv, int opt_maxAssociationsv, T_DIMSE_BlockingMode opt_blockModev, int opt_dimse_timeoutv, int opt_acse_timeoutv, OFConsole *logStreamv) | |
constructor. | |
~WlmActivityManager () | |
destructor | |
OFCondition | StartProvidingService () |
Starts providing the implemented service for calling SCUs. | |
Protected Member Functions | |
void | DumpMessage (const char *message) |
This function dumps the given information on a stream. | |
OFCondition | WaitForAssociation (T_ASC_Network *net) |
This function takes care of receiving, negotiating and accepting/refusing an association request. | |
void | CleanChildren () |
This function takes care of removing items referring to (terminated) subprocess from the table which stores all subprocess information. | |
OFCondition | NegotiateAssociation (T_ASC_Association *assoc) |
This function negotiates a presentation context which will be used by this application and the other DICOM appliation that requests an association. | |
void | AddProcessToTable (int pid, T_ASC_Association *assoc) |
This function adds a process to the table that stores process information. | |
int | CountChildProcesses () |
This function counts all child processes which are still referenced in the process table. | |
void | RemoveProcessFromTable (int pid) |
This function removes one particular item from the table which stores all subprocess information. | |
void | RefuseAssociation (T_ASC_Association **assoc, WlmRefuseReasonType reason) |
This function takes care of refusing an assocation request. | |
void | HandleAssociation (T_ASC_Association *assoc) |
This function takes care of handling the other DICOM application's request. | |
OFCondition | ReceiveAndHandleCommands (T_ASC_Association *assoc) |
This function takes care of handling the other DICOM application's request. | |
OFCondition | HandleEchoSCP (T_ASC_Association *assoc, T_DIMSE_C_EchoRQ *req, T_ASC_PresentationContextID presId) |
Having received a DIMSE C-ECHO-RQ message, this function takes care of sending a DIMSE C-ECHO-RSP message over the network connection. | |
OFCondition | HandleFindSCP (T_ASC_Association *assoc, T_DIMSE_C_FindRQ *request, T_ASC_PresentationContextID presID) |
This function processes a DIMSE C-FIND-RQ commmand that was received over the network connection. | |
WlmActivityManager (const WlmActivityManager &Src) | |
Protected undefined copy-constructor. | |
WlmActivityManager & | operator= (const WlmActivityManager &Src) |
Protected undefined operator=. | |
Protected Attributes | |
WlmDataSource * | dataSource |
data source connection object | |
OFCmdUnsignedInt | opt_port |
port on which the application is listening | |
OFBool | opt_refuseAssociation |
indicates if the application shall refuse any association | |
OFBool | opt_rejectWithoutImplementationUID |
indicates if the application shall reject associations without implementation class uids | |
OFCmdUnsignedInt | opt_sleepAfterFind |
indicates how long the application shall sleep after a find | |
OFCmdUnsignedInt | opt_sleepDuringFind |
indicates how long the application shall sleep during a find | |
OFCmdUnsignedInt | opt_maxPDU |
max pdu size | |
E_TransferSyntax | opt_networkTransferSyntax |
preferred network transfer syntax | |
OFBool | opt_verbose |
indicates if the application is run in verbose mode or not | |
OFBool | opt_debug |
indicates if the application is run in debug mode or not | |
OFBool | opt_failInvalidQuery |
indicates if the application shall fail on an invalid C-Find RQ message | |
OFBool | opt_singleProcess |
indicates if the application is run in single process mode or not | |
int | opt_maxAssociations |
maximum number of association for non-single process mode | |
T_DIMSE_BlockingMode | opt_blockMode |
blocking mode for DIMSE operations | |
int | opt_dimse_timeout |
timeout for DIMSE operations | |
int | opt_acse_timeout |
timeout for ACSE operations | |
char ** | supportedAbstractSyntaxes |
array of supported abstract syntaxes | |
int | numberOfSupportedAbstractSyntaxes |
number of array fields | |
OFConsole * | logStream |
stream log information will be dumped to | |
WlmProcessTableType | processTable |
table of processes for non-single process mode |
Definition at line 47 of file wlmactmg.h.
|
Protected undefined copy-constructor. Shall never be called.
|
|
constructor.
|
|
This function adds a process to the table that stores process information.
|
|
This function takes care of removing items referring to (terminated) subprocess from the table which stores all subprocess information. Three different versions for three different platforms are implemented. |
|
This function counts all child processes which are still referenced in the process table.
|
|
This function dumps the given information on a stream. Used for dumping information in normal, debug and verbose mode.
|
|
This function takes care of handling the other DICOM application's request. After having accomplished all necessary steps, the association will be dropped and destroyed.
|
|
Having received a DIMSE C-ECHO-RQ message, this function takes care of sending a DIMSE C-ECHO-RSP message over the network connection.
|
|
This function processes a DIMSE C-FIND-RQ commmand that was received over the network connection.
|
|
This function negotiates a presentation context which will be used by this application and the other DICOM appliation that requests an association.
|
|
Protected undefined operator=. Shall never be called.
|
|
This function takes care of handling the other DICOM application's request.
|
|
This function takes care of refusing an assocation request.
|
|
This function removes one particular item from the table which stores all subprocess information. The item which shall be deleted will be identified by its process id.
|
|
Starts providing the implemented service for calling SCUs. After having created an instance of this class, this function shall be called from main.
|
|
This function takes care of receiving, negotiating and accepting/refusing an association request. Additionally, it handles the request the association requesting application transmits after a connection isd established.
|