public class Reject extends Response implements ULServiceMessage
Modifier and Type | Field and Description |
---|---|
static int |
ACSE_NO_REASON_GIVEN |
static int |
ACSE_PROTOCOL_NOT_SUPPORTED |
static int |
DICOM_UL_SERVICE_PROVIDER_ACSE |
static int |
DICOM_UL_SERVICE_PROVIDER_PRESENTATION |
static int |
DICOM_UL_SERVICE_USER |
static int |
PRESENTATION_LOCAL_LIMIT_EXCEEDED |
static int |
PRESENTATION_TEMPORARY_CONGESTION |
static int |
REJECTED_PERMANENT |
static int |
REJECTED_TRANSIENT |
static int |
USER_APPLICATIONCONTEXTNAME_NOT_SUPPORTED |
static int |
USER_CALLED_AETITLE_NOT_RECOGNIZED |
static int |
USER_CALLING_AETITLE_NOT_RECOGNIZED |
static int |
USER_NO_REASON_GIVEN |
ABORT, ASS_ACKNOWLEDGE, ASS_REJECT, ASS_REQUEST, DIMSE, REL_REQUEST, REL_RESPONSE
Constructor and Description |
---|
Reject(int result,
int source,
int reason)
constructs a new Reject object.
|
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()
return the reason of this Reject.
|
int |
getResult()
returns the result of this Reject.
|
int |
getSource()
returns the source of this Reject.
|
int |
getType()
returns the type of this pdu
|
java.lang.String |
toString()
returns a String representation of this Reject.
|
public static int REJECTED_PERMANENT
public static int REJECTED_TRANSIENT
public static int DICOM_UL_SERVICE_USER
public static int DICOM_UL_SERVICE_PROVIDER_ACSE
public static int DICOM_UL_SERVICE_PROVIDER_PRESENTATION
public static int USER_NO_REASON_GIVEN
public static int USER_APPLICATIONCONTEXTNAME_NOT_SUPPORTED
public static int USER_CALLING_AETITLE_NOT_RECOGNIZED
public static int USER_CALLED_AETITLE_NOT_RECOGNIZED
public static int ACSE_NO_REASON_GIVEN
public static int ACSE_PROTOCOL_NOT_SUPPORTED
public static int PRESENTATION_TEMPORARY_CONGESTION
public static int PRESENTATION_LOCAL_LIMIT_EXCEEDED
public Reject(int result, int source, int reason)
result
- the result:
source
- the source:
reason
- the reason.
public int getType()
public int getMessageType()
getMessageType
in interface ULServiceMessage
public java.lang.String getMessageTypeName()
ULServiceMessage
getMessageTypeName
in interface ULServiceMessage
public int getResult()
public int getSource()
public int getReason()
public java.lang.String toString()
toString
in class java.lang.Object