public class DimseUtil
extends java.lang.Object
Note: This class is replaced by the com.archimed.dicom.network.Command
class
and is maintained for backwards compatibility. New implementations should
make use of the Command class.
Command
Modifier and Type | Field and Description |
---|---|
static int |
C_CANCEL_FIND_REQUEST |
static int |
C_ECHO_REQUEST |
static int |
C_ECHO_RESPONSE |
static int |
C_FIND_REQUEST |
static int |
C_FIND_RESPONSE |
static int |
C_GET_REQUEST |
static int |
C_GET_RESPONSE |
static int |
C_MOVE_REQUEST |
static int |
C_MOVE_RESPONSE |
static int |
C_STORE_REQUEST |
static int |
C_STORE_RESPONSE |
static int |
HIGH_PRIORITY |
static int |
LOW_PRIORITY |
static int |
MEDIUM_PRIORITY |
static int |
N_ACTION_REQUEST |
static int |
N_ACTION_RESPONSE |
static int |
N_CREATE_REQUEST |
static int |
N_CREATE_RESPONSE |
static int |
N_DELETE_REQUEST |
static int |
N_DELETE_RESPONSE |
static int |
N_EVENT_REPORT_REQUEST |
static int |
N_EVENT_REPORT_RESPONSE |
static int |
N_GET_REQUEST |
static int |
N_GET_RESPONSE |
static int |
N_SET_REQUEST |
static int |
N_SET_RESPONSE |
Constructor and Description |
---|
DimseUtil() |
Modifier and Type | Method and Description |
---|---|
static DicomObject |
createActionRequest(java.lang.Integer messageid,
java.lang.Integer sopclassuid,
java.lang.String sopinstanceuid,
boolean datapresent,
java.lang.Integer actiontypeid) |
static DicomObject |
createActionResponse(java.lang.Integer messageid,
java.lang.Integer sopclassuid,
java.lang.String sopinstanceuid,
boolean datapresent,
java.lang.Integer status,
java.lang.Integer actiontypeid) |
static DicomObject |
createCancelRequest(java.lang.Integer messageid) |
static DicomObject |
createCGetRequest(java.lang.Integer messageid,
java.lang.Integer sopclassuid,
java.lang.Integer priority) |
static DicomObject |
createCGetResponse(java.lang.Integer messageid,
java.lang.Integer sopclassuid,
boolean datapresent,
java.lang.Integer status,
java.lang.Integer remaining,
java.lang.Integer completed,
java.lang.Integer failed,
java.lang.Integer warning) |
static DicomObject |
createCreateRequest(java.lang.Integer messageid,
java.lang.Integer sopclassuid,
java.lang.String sopinstanceuid,
boolean datapresent) |
static DicomObject |
createCreateResponse(java.lang.Integer messageid,
java.lang.Integer sopclassuid,
java.lang.String sopinstanceuid,
boolean datapresent,
java.lang.Integer status) |
static DicomObject |
createDeleteRequest(java.lang.Integer messageid,
java.lang.Integer sopclassuid,
java.lang.String sopinstanceuid) |
static DicomObject |
createDeleteResponse(java.lang.Integer messageid,
java.lang.Integer sopclassuid,
java.lang.String sopinstanceuid,
java.lang.Integer status) |
static DicomObject |
createEchoRequest(java.lang.Integer messageid,
java.lang.Integer sopclassuid) |
static DicomObject |
createEchoResponse(java.lang.Integer messageid,
java.lang.Integer sopclassuid,
java.lang.Integer status) |
static DicomObject |
createEventReportRequest(java.lang.Integer messageid,
java.lang.Integer sopclassuid,
java.lang.String sopinstanceuid,
boolean datapresent,
java.lang.Integer eventtypeid) |
static DicomObject |
createEventReportResponse(java.lang.Integer messageid,
java.lang.Integer sopclassuid,
java.lang.String sopinstanceuid,
boolean datapresent,
java.lang.Integer status,
java.lang.Integer eventtypeid) |
static DicomObject |
createFindRequest(java.lang.Integer messageid,
java.lang.Integer sopclassuid,
java.lang.Integer priority) |
static DicomObject |
createFindResponse(java.lang.Integer messageid,
java.lang.Integer sopclassuid,
boolean datapresent,
java.lang.Integer status) |
static DicomObject |
createMoveRequest(java.lang.Integer messageid,
java.lang.Integer sopclassuid,
java.lang.Integer priority,
java.lang.String movedestination) |
static DicomObject |
createMoveResponse(java.lang.Integer messageid,
java.lang.Integer sopclassuid,
boolean datapresent,
java.lang.Integer status,
java.lang.Integer remaining,
java.lang.Integer completed,
java.lang.Integer failed,
java.lang.Integer warning) |
static DicomObject |
createNGetRequest(java.lang.Integer messageid,
java.lang.Integer sopclassuid,
java.lang.String sopinstanceuid,
int[] attributelist) |
static DicomObject |
createNGetResponse(java.lang.Integer messageid,
java.lang.Integer sopclassuid,
java.lang.String sopinstanceuid,
boolean datapresent,
java.lang.Integer status) |
static DicomObject |
createSetRequest(java.lang.Integer messageid,
java.lang.Integer sopclassuid,
java.lang.String sopinstanceuid) |
static DicomObject |
createSetResponse(java.lang.Integer messageid,
java.lang.Integer sopclassuid,
java.lang.String sopinstanceuid,
boolean datapresent,
java.lang.Integer status) |
static DicomObject |
createStoreRequest(java.lang.Integer messageid,
java.lang.Integer sopclassuid,
java.lang.Integer priority,
java.lang.String sopinstanceuid,
java.lang.String moveae,
java.lang.String moveid) |
static DicomObject |
createStoreResponse(java.lang.Integer messageid,
java.lang.Integer sopclassuid,
java.lang.String sopinstanceuid,
java.lang.Integer status) |
static boolean |
dataPresent(DicomObject dcm) |
static int |
getAffectedSOPClass(DicomObject dicomset) |
static java.lang.String |
getAffectedSOPInstance(DicomObject dicomset) |
static java.lang.String |
getCommandName(int commandType) |
static int |
getCommandType(DicomObject dicomset) |
static int |
getMessageID(DicomObject dicomset) |
static int |
getMessageIDBeingRespondedTo(DicomObject dicomset) |
static int |
getPriority(DicomObject dicomset) |
static int |
getRequestedSOPClass(DicomObject dicomset) |
static java.lang.String |
getRequestedSOPInstance(DicomObject dicomset) |
public static final int N_EVENT_REPORT_REQUEST
public static final int N_EVENT_REPORT_RESPONSE
public static final int N_GET_REQUEST
public static final int N_GET_RESPONSE
public static final int N_SET_REQUEST
public static final int N_SET_RESPONSE
public static final int N_ACTION_REQUEST
public static final int N_ACTION_RESPONSE
public static final int N_CREATE_REQUEST
public static final int N_CREATE_RESPONSE
public static final int N_DELETE_REQUEST
public static final int N_DELETE_RESPONSE
public static final int C_STORE_REQUEST
public static final int C_STORE_RESPONSE
public static final int C_GET_REQUEST
public static final int C_GET_RESPONSE
public static final int C_FIND_REQUEST
public static final int C_FIND_RESPONSE
public static final int C_MOVE_REQUEST
public static final int C_MOVE_RESPONSE
public static final int C_ECHO_REQUEST
public static final int C_ECHO_RESPONSE
public static final int C_CANCEL_FIND_REQUEST
public static final int MEDIUM_PRIORITY
public static final int HIGH_PRIORITY
public static final int LOW_PRIORITY
public static java.lang.String getCommandName(int commandType)
public static int getCommandType(DicomObject dicomset) throws IllegalValueException
IllegalValueException
public static int getMessageID(DicomObject dicomset) throws IllegalValueException
IllegalValueException
public static int getMessageIDBeingRespondedTo(DicomObject dicomset) throws IllegalValueException
IllegalValueException
public static int getPriority(DicomObject dicomset) throws IllegalValueException
IllegalValueException
public static int getAffectedSOPClass(DicomObject dicomset) throws IllegalValueException, UnknownUIDException
public static java.lang.String getAffectedSOPInstance(DicomObject dicomset) throws IllegalValueException
IllegalValueException
public static int getRequestedSOPClass(DicomObject dicomset) throws IllegalValueException, UnknownUIDException
public static java.lang.String getRequestedSOPInstance(DicomObject dicomset) throws IllegalValueException, UnknownUIDException
public static boolean dataPresent(DicomObject dcm) throws IllegalValueException
IllegalValueException
public static DicomObject createEventReportRequest(java.lang.Integer messageid, java.lang.Integer sopclassuid, java.lang.String sopinstanceuid, boolean datapresent, java.lang.Integer eventtypeid) throws DicomException, IllegalValueException
DicomException
IllegalValueException
public static DicomObject createEventReportResponse(java.lang.Integer messageid, java.lang.Integer sopclassuid, java.lang.String sopinstanceuid, boolean datapresent, java.lang.Integer status, java.lang.Integer eventtypeid) throws DicomException, IllegalValueException
DicomException
IllegalValueException
public static DicomObject createNGetRequest(java.lang.Integer messageid, java.lang.Integer sopclassuid, java.lang.String sopinstanceuid, int[] attributelist) throws DicomException, IllegalValueException
DicomException
IllegalValueException
public static DicomObject createNGetResponse(java.lang.Integer messageid, java.lang.Integer sopclassuid, java.lang.String sopinstanceuid, boolean datapresent, java.lang.Integer status) throws DicomException, IllegalValueException
DicomException
IllegalValueException
public static DicomObject createSetRequest(java.lang.Integer messageid, java.lang.Integer sopclassuid, java.lang.String sopinstanceuid) throws DicomException, IllegalValueException
DicomException
IllegalValueException
public static DicomObject createSetResponse(java.lang.Integer messageid, java.lang.Integer sopclassuid, java.lang.String sopinstanceuid, boolean datapresent, java.lang.Integer status) throws DicomException, IllegalValueException
DicomException
IllegalValueException
public static DicomObject createActionRequest(java.lang.Integer messageid, java.lang.Integer sopclassuid, java.lang.String sopinstanceuid, boolean datapresent, java.lang.Integer actiontypeid) throws DicomException, IllegalValueException
DicomException
IllegalValueException
public static DicomObject createActionResponse(java.lang.Integer messageid, java.lang.Integer sopclassuid, java.lang.String sopinstanceuid, boolean datapresent, java.lang.Integer status, java.lang.Integer actiontypeid) throws DicomException, IllegalValueException
DicomException
IllegalValueException
public static DicomObject createCreateRequest(java.lang.Integer messageid, java.lang.Integer sopclassuid, java.lang.String sopinstanceuid, boolean datapresent) throws DicomException, IllegalValueException
DicomException
IllegalValueException
public static DicomObject createCreateResponse(java.lang.Integer messageid, java.lang.Integer sopclassuid, java.lang.String sopinstanceuid, boolean datapresent, java.lang.Integer status) throws DicomException, IllegalValueException
DicomException
IllegalValueException
public static DicomObject createDeleteRequest(java.lang.Integer messageid, java.lang.Integer sopclassuid, java.lang.String sopinstanceuid) throws DicomException, IllegalValueException
DicomException
IllegalValueException
public static DicomObject createDeleteResponse(java.lang.Integer messageid, java.lang.Integer sopclassuid, java.lang.String sopinstanceuid, java.lang.Integer status) throws DicomException, IllegalValueException
DicomException
IllegalValueException
public static DicomObject createEchoRequest(java.lang.Integer messageid, java.lang.Integer sopclassuid) throws DicomException, IllegalValueException
DicomException
IllegalValueException
public static DicomObject createEchoResponse(java.lang.Integer messageid, java.lang.Integer sopclassuid, java.lang.Integer status) throws DicomException, IllegalValueException
DicomException
IllegalValueException
public static DicomObject createMoveRequest(java.lang.Integer messageid, java.lang.Integer sopclassuid, java.lang.Integer priority, java.lang.String movedestination) throws DicomException, IllegalValueException
DicomException
IllegalValueException
public static DicomObject createMoveResponse(java.lang.Integer messageid, java.lang.Integer sopclassuid, boolean datapresent, java.lang.Integer status, java.lang.Integer remaining, java.lang.Integer completed, java.lang.Integer failed, java.lang.Integer warning) throws DicomException, IllegalValueException
DicomException
IllegalValueException
public static DicomObject createCGetRequest(java.lang.Integer messageid, java.lang.Integer sopclassuid, java.lang.Integer priority) throws DicomException, IllegalValueException
DicomException
IllegalValueException
public static DicomObject createCGetResponse(java.lang.Integer messageid, java.lang.Integer sopclassuid, boolean datapresent, java.lang.Integer status, java.lang.Integer remaining, java.lang.Integer completed, java.lang.Integer failed, java.lang.Integer warning) throws DicomException, IllegalValueException
DicomException
IllegalValueException
public static DicomObject createStoreRequest(java.lang.Integer messageid, java.lang.Integer sopclassuid, java.lang.Integer priority, java.lang.String sopinstanceuid, java.lang.String moveae, java.lang.String moveid) throws DicomException, IllegalValueException
DicomException
IllegalValueException
public static DicomObject createStoreResponse(java.lang.Integer messageid, java.lang.Integer sopclassuid, java.lang.String sopinstanceuid, java.lang.Integer status) throws DicomException, IllegalValueException
DicomException
IllegalValueException
public static DicomObject createFindRequest(java.lang.Integer messageid, java.lang.Integer sopclassuid, java.lang.Integer priority) throws DicomException, IllegalValueException
DicomException
IllegalValueException
public static DicomObject createFindResponse(java.lang.Integer messageid, java.lang.Integer sopclassuid, boolean datapresent, java.lang.Integer status) throws DicomException, IllegalValueException
DicomException
IllegalValueException
public static DicomObject createCancelRequest(java.lang.Integer messageid) throws DicomException, IllegalValueException
DicomException
IllegalValueException