public class MCcommand
extends java.lang.Object
DICOM message objects are related to specific DICOM service-command pairs (i.e. SOP classes). This class identifies the DIMSE command that will be used with the message object.
Command instances can be obtained either through one of the static members of this class or
by name, using the getCommand(String)
method.
Static methods and instances of this class can be used by multiple threads concurrently.
Modifier and Type | Field and Description |
---|---|
static MCcommand |
C_CANCEL_RQ
The command instance for a DICOM cancel request (for C-GET, C-FIND or C-MOVE operation).
|
static MCcommand |
C_ECHO_RQ
The command instance for a DICOM C-ECHO request.
|
static MCcommand |
C_ECHO_RSP
The command instance for a DICOM C-ECHO request.
|
static MCcommand |
C_FIND_RQ
The command instance for a DICOM C-FIND request.
|
static MCcommand |
C_FIND_RSP
The command instance for a DICOM C-FIND response.
|
static MCcommand |
C_GET_RQ
The command instance for a DICOM C-GET request.
|
static MCcommand |
C_GET_RSP
The command instance for a DICOM C-GET response.
|
static MCcommand |
C_MOVE_RQ
The command instance for a DICOM C-MOVE request.
|
static MCcommand |
C_MOVE_RSP
The command instance for a DICOM C-MOVE response.
|
static MCcommand |
C_STORE_RQ
The command instance for a DICOM C-STORE request.
|
static MCcommand |
C_STORE_RSP
The command instance for a DICOM C-STORE response.
|
static MCcommand |
INVALID_COMMAND
The command instance representing an undefined command.
|
static MCcommand |
N_ACTION_RQ
The command instance for a DICOM N-ACTION request.
|
static MCcommand |
N_ACTION_RSP
The command instance for a DICOM N-ACTION response.
|
static MCcommand |
N_CREATE_RQ
The command instance for a DICOM N-CREATE request.
|
static MCcommand |
N_CREATE_RSP
The command instance for a DICOM N-CREATE response.
|
static MCcommand |
N_DELETE_RQ
The command instance for a DICOM N-DELETE request.
|
static MCcommand |
N_DELETE_RSP
The command instance for a DICOM N-DELETE response.
|
static MCcommand |
N_EVENT_REPORT_RQ
The command instance for a DICOM N-EVENT_REPORT request.
|
static MCcommand |
N_EVENT_REPORT_RSP
The command instance for a DICOM N-EVENT_REPORT response.
|
static MCcommand |
N_GET_RQ
The command instance for a DICOM N-GET request.
|
static MCcommand |
N_GET_RSP
The command instance for a DICOM N-GET response.
|
static MCcommand |
N_SET_RQ
The command instance for a DICOM N-SET request.
|
static MCcommand |
N_SET_RSP
The command instance for a DICOM N-SET response.
|
java.lang.String |
Name
This field contains the name of this command.
|
Modifier and Type | Method and Description |
---|---|
static MCcommand |
getCommand(java.lang.String name)
Gets the command instance for the specified command.
|
MCcommand |
getResponseCommand()
Get the command appropriate as this command's response message.
|
java.lang.String |
toString()
Gets the name of this command.
|
public final java.lang.String Name
public static final MCcommand C_CANCEL_RQ
public static final MCcommand C_STORE_RQ
public static final MCcommand C_STORE_RSP
public static final MCcommand C_GET_RQ
public static final MCcommand C_GET_RSP
public static final MCcommand C_FIND_RQ
public static final MCcommand C_FIND_RSP
public static final MCcommand C_MOVE_RQ
public static final MCcommand C_MOVE_RSP
public static final MCcommand C_ECHO_RQ
public static final MCcommand C_ECHO_RSP
public static final MCcommand N_EVENT_REPORT_RQ
public static final MCcommand N_EVENT_REPORT_RSP
public static final MCcommand N_GET_RQ
public static final MCcommand N_GET_RSP
public static final MCcommand N_SET_RQ
public static final MCcommand N_SET_RSP
public static final MCcommand N_ACTION_RQ
public static final MCcommand N_ACTION_RSP
public static final MCcommand N_CREATE_RQ
public static final MCcommand N_CREATE_RSP
public static final MCcommand N_DELETE_RQ
public static final MCcommand N_DELETE_RSP
public static final MCcommand INVALID_COMMAND
public static MCcommand getCommand(java.lang.String name)
name
- The name of the command to get.MCcommand
instance for the requested name.public MCcommand getResponseCommand()
MCcommand
instance for the response message.public java.lang.String toString()
toString
in class java.lang.Object