public enum Dimse extends Enum<Dimse>
Enum Constant and Description |
---|
C_CANCEL_RQ |
C_ECHO_RQ |
C_ECHO_RSP |
C_FIND_RQ |
C_FIND_RSP |
C_GET_RQ |
C_GET_RSP |
C_MOVE_RQ |
C_MOVE_RSP |
C_STORE_RQ |
C_STORE_RSP |
N_ACTION_RQ |
N_ACTION_RSP |
N_CREATE_RQ |
N_CREATE_RSP |
N_DELETE_RQ |
N_DELETE_RSP |
N_EVENT_REPORT_RQ |
N_EVENT_REPORT_RSP |
N_GET_RQ |
N_GET_RSP |
N_SET_RQ |
N_SET_RSP |
Modifier and Type | Field and Description |
---|---|
private int |
commandField |
static Logger |
LOG |
private String |
prompt |
private int |
tagOfMessageID |
private int |
tagOfSOPClassUID |
private int |
tagOfSOPInstanceUID |
Modifier and Type | Method and Description |
---|---|
int |
commandField() |
int |
commandFieldOfRSP() |
boolean |
isCService() |
boolean |
isRetrieveRQ() |
boolean |
isRetrieveRSP() |
boolean |
isRSP() |
private static void |
promptAttributeIdentifierListTo(Attributes cmd,
StringBuilder sb) |
private static void |
promptIntTo(Attributes cmd,
String name,
int tag,
StringBuilder sb) |
private static void |
promptMoveOriginatorTo(Attributes cmd,
StringBuilder sb) |
private static void |
promptNumberOfSubOpsTo(Attributes cmd,
StringBuilder sb) |
private static void |
promptStringTo(Attributes cmd,
String name,
int tag,
StringBuilder sb) |
private static void |
promptUIDTo(Attributes cmd,
String name,
int tag,
StringBuilder sb) |
private static void |
promptUIDTo(String name,
String uid,
StringBuilder sb) |
int |
tagOfSOPClassUID() |
int |
tagOfSOPInstanceUID() |
String |
toString(Attributes cmdAttrs,
int pcid,
String tsuid) |
static Dimse |
valueOf(int commandField) |
static Dimse |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Dimse[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Dimse C_STORE_RQ
public static final Dimse C_STORE_RSP
public static final Dimse C_FIND_RSP
public static final Dimse C_MOVE_RSP
public static final Dimse C_ECHO_RSP
public static final Dimse N_EVENT_REPORT_RQ
public static final Dimse N_EVENT_REPORT_RSP
public static final Dimse N_ACTION_RQ
public static final Dimse N_ACTION_RSP
public static final Dimse N_CREATE_RQ
public static final Dimse N_CREATE_RSP
public static final Dimse N_DELETE_RQ
public static final Dimse N_DELETE_RSP
public static final Dimse C_CANCEL_RQ
private final int commandField
private final int tagOfSOPClassUID
private final int tagOfSOPInstanceUID
private final int tagOfMessageID
public static Dimse[] values()
for (Dimse c : Dimse.values()) System.out.println(c);
public static Dimse valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic int commandField()
public int tagOfSOPClassUID()
public int tagOfSOPInstanceUID()
public boolean isRSP()
public boolean isRetrieveRQ()
public boolean isRetrieveRSP()
public boolean isCService()
public int commandFieldOfRSP()
public String toString(Attributes cmdAttrs, int pcid, String tsuid)
private static void promptIntTo(Attributes cmd, String name, int tag, StringBuilder sb)
private static void promptStringTo(Attributes cmd, String name, int tag, StringBuilder sb)
private static void promptUIDTo(Attributes cmd, String name, int tag, StringBuilder sb)
private static void promptUIDTo(String name, String uid, StringBuilder sb)
private static void promptMoveOriginatorTo(Attributes cmd, StringBuilder sb)
private static void promptAttributeIdentifierListTo(Attributes cmd, StringBuilder sb)
private static void promptNumberOfSubOpsTo(Attributes cmd, StringBuilder sb)
Copyright © 2017 dcm4che.org. All rights reserved.