public class Abort extends Response implements ULServiceMessage
Modifier and Type | Field and Description |
---|---|
static int |
DICOM_UL_SERVICE_PROVIDER |
static int |
DICOM_UL_SERVICE_USER |
static int |
INVALID_PDU_PARAMETER_VALUE |
static int |
REASON_NOT_SPECIFIED |
static int |
UNEXPECTED_PDU |
static int |
UNEXPECTED_PDU_PARAMETER |
static int |
UNRECOGNIZED_PDU |
static int |
UNRECOGNIZED_PDU_PARAMETER |
ABORT, ASS_ACKNOWLEDGE, ASS_REJECT, ASS_REQUEST, DIMSE, REL_REQUEST, REL_RESPONSE
Constructor and Description |
---|
Abort(int source,
int reason)
creates a new Abort
|
Modifier and Type | Method and Description |
---|---|
int |
getMessageType()
returns the type of ULServiceMessage
|
java.lang.String |
getMessageTypeName()
returns a name for the message type
|
int |
getReason()
returns the reason of the Abort.
|
int |
getSource()
returns the source of the Abort.
|
int |
getType()
returns the type of this pdu
|
java.lang.String |
toString()
returns a description of the source and reason of the abort
|
public static int DICOM_UL_SERVICE_USER
public static int DICOM_UL_SERVICE_PROVIDER
public static int REASON_NOT_SPECIFIED
public static int UNRECOGNIZED_PDU
public static int UNEXPECTED_PDU
public static int UNRECOGNIZED_PDU_PARAMETER
public static int UNEXPECTED_PDU_PARAMETER
public static int INVALID_PDU_PARAMETER_VALUE
public Abort(int source, int reason)
source
- the source parameter:
reason
- the reason parameter:
public int getType()
public int getMessageType()
getMessageType
in interface ULServiceMessage
public java.lang.String getMessageTypeName()
ULServiceMessage
getMessageTypeName
in interface ULServiceMessage
public int getSource()
public int getReason()
public java.lang.String toString()
toString
in class java.lang.Object