Trispark JDT
2.50.13

com.archimed.dicom.network
Class Reject

java.lang.Object
  extended by com.archimed.dicom.network.Response
      extended by com.archimed.dicom.network.Reject
All Implemented Interfaces:
ULServiceMessage

public class Reject
extends Response
implements ULServiceMessage

represents an associate reject message. The relevant parameters of a reject are the source,result and reason.

Since:
1.00

Field Summary
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
           
 
Fields inherited from interface com.archimed.dicom.network.ULServiceMessage
ABORT, ASS_ACKNOWLEDGE, ASS_REJECT, ASS_REQUEST, DIMSE, REL_REQUEST, REL_RESPONSE
 
Constructor Summary
Reject(int result, int source, int reason)
          constructs a new Reject object.
 
Method Summary
 int getMessageType()
          returns the type of ULServiceMessage
 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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

REJECTED_PERMANENT

public static int REJECTED_PERMANENT

REJECTED_TRANSIENT

public static int REJECTED_TRANSIENT

DICOM_UL_SERVICE_USER

public static int DICOM_UL_SERVICE_USER

DICOM_UL_SERVICE_PROVIDER_ACSE

public static int DICOM_UL_SERVICE_PROVIDER_ACSE

DICOM_UL_SERVICE_PROVIDER_PRESENTATION

public static int DICOM_UL_SERVICE_PROVIDER_PRESENTATION

USER_NO_REASON_GIVEN

public static int USER_NO_REASON_GIVEN

USER_APPLICATIONCONTEXTNAME_NOT_SUPPORTED

public static int USER_APPLICATIONCONTEXTNAME_NOT_SUPPORTED

USER_CALLING_AETITLE_NOT_RECOGNIZED

public static int USER_CALLING_AETITLE_NOT_RECOGNIZED

USER_CALLED_AETITLE_NOT_RECOGNIZED

public static int USER_CALLED_AETITLE_NOT_RECOGNIZED

ACSE_NO_REASON_GIVEN

public static int ACSE_NO_REASON_GIVEN

ACSE_PROTOCOL_NOT_SUPPORTED

public static int ACSE_PROTOCOL_NOT_SUPPORTED

PRESENTATION_TEMPORARY_CONGESTION

public static int PRESENTATION_TEMPORARY_CONGESTION

PRESENTATION_LOCAL_LIMIT_EXCEEDED

public static int PRESENTATION_LOCAL_LIMIT_EXCEEDED
Constructor Detail

Reject

public Reject(int result,
              int source,
              int reason)
constructs a new Reject object.

Parameters:
result - the result:
  • REJECTED_PERMANENT
  • REJECTED_TRANSIENT
source - the source:
  • DICOM_UL_SERVICE_USER
  • DICOM_UL_SERVICE_PROVIDER_ACSE
  • DICOM_UL_SERVICE_PROVIDER_PRESENTATION
reason - the reason.
  • If source equals DICOM_UL_SERVICE_USER
    • USER_NO_REASON_GIVEN
    • USER_APPLICATIONCONTEXTNAME_NOT_SUPPORTED
    • USER_CALLING_AETITLE_NOT_RECOGNIZED
    • USER_CALLED_AETITLE_NOT_RECOGNIZED
  • If source equals DICOM_UL_SERVICE_PROVIDER_ACSE
    • ACSE_NO_REASON_GIVEN
    • ACSE_PROTOCOL_NOT_SUPPORTED
  • If source equals DICOM_UK_SERVICE_PROVIDER_PRESENTATION
    • PRESENTATION_TEMPORARY_CONGESTION
    • PRESENTATION_LOCAL_LIMIT_EXCEEDED
Method Detail

getType

public int getType()
returns the type of this pdu

Returns:
Pdu.A_ASSOCIATE_RJ

getMessageType

public int getMessageType()
returns the type of ULServiceMessage

Specified by:
getMessageType in interface ULServiceMessage
Returns:

getResult

public int getResult()
returns the result of this Reject.


getSource

public int getSource()
returns the source of this Reject.


getReason

public int getReason()
return the reason of this Reject.


toString

public java.lang.String toString()
returns a String representation of this Reject.

Overrides:
toString in class java.lang.Object

Trispark JDT
2.50.13

Copyright © 1999-2008 Trispark. All Rights Reserved.