Trispark JDT
2.50.13

com.archimed.dicom.network
Class Abort

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

public class Abort
extends Response
implements ULServiceMessage

represents an abort message. The two relevant parameters are the source and the reason of the abort.

Since:
1.00

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

Field Detail

DICOM_UL_SERVICE_USER

public static int DICOM_UL_SERVICE_USER

DICOM_UL_SERVICE_PROVIDER

public static int DICOM_UL_SERVICE_PROVIDER

REASON_NOT_SPECIFIED

public static int REASON_NOT_SPECIFIED

UNRECOGNIZED_PDU

public static int UNRECOGNIZED_PDU

UNEXPECTED_PDU

public static int UNEXPECTED_PDU

UNRECOGNIZED_PDU_PARAMETER

public static int UNRECOGNIZED_PDU_PARAMETER

UNEXPECTED_PDU_PARAMETER

public static int UNEXPECTED_PDU_PARAMETER

INVALID_PDU_PARAMETER_VALUE

public static int INVALID_PDU_PARAMETER_VALUE
Constructor Detail

Abort

public Abort(int source,
             int reason)
creates a new Abort

Parameters:
source - the source parameter:
  • DICOM_UL_SERVICE_USER
  • DICOM_UL_SERVICE_PROVIDER
reason - the reason parameter:
  • REASON_NOT_SPECIFIED
  • UNRECOGNIZED_PDU
  • UNEXPECTED_PDU
  • UNRECOGNIZED_PDU_PARAMETER
  • UNEXPECTED_PDU_PARAMETER
  • INVALID_PDU_PARAMETER_VALUE
Method Detail

getType

public int getType()
returns the type of this pdu

Returns:
Pdu.A_ABORT

getMessageType

public int getMessageType()
returns the type of ULServiceMessage

Specified by:
getMessageType in interface ULServiceMessage
Returns:

getSource

public int getSource()
returns the source of the Abort.


getReason

public int getReason()
returns the reason of the Abort.


toString

public java.lang.String toString()
returns a description of the source and reason of the abort

Overrides:
toString in class java.lang.Object

Trispark JDT
2.50.13

Copyright © 1999-2008 Trispark. All Rights Reserved.