public class AAbortPDU extends PDU
| Constructor and Description |
|---|
AAbortPDU() |
| Modifier and Type | Method and Description |
|---|---|
int |
getLength()
This function returns the length of Abort PDU>
|
byte |
getReason()
Gets the abort reason.
|
byte |
getSource()
Gets the source.
|
void |
parse(IDicomStream objIDicomStream)
This function parse the Abort PDU.
|
void |
serialize(IDicomStream objIDicomStream)
This function serialize the Abort PDU.
|
void |
setReason(EnumAbortReason enumReason)
Sets an integer value encoded as an unsigned binary number.
|
void |
setSource(EnumAbortSource enumSource)
Sets Source field shall contain an integer value encoded as an unsigned binary number.
|
getPDUType, setPDUTypepublic byte getReason()
public void setReason(EnumAbortReason enumReason)
enumReason - enum value of abort reason.public byte getSource()
public void setSource(EnumAbortSource enumSource)
enumSource - enum value of sourcepublic int getLength()
public void parse(IDicomStream objIDicomStream) throws java.io.IOException, ParseException
parse in class PDUobjIDicomStream - dicom stream containing Abort PDU .java.io.IOException - Signals that an IO Exception has occurred.ParseException - Signals that an Parse Exception has occurred.public void serialize(IDicomStream objIDicomStream) throws java.io.IOException, SerializeException
serialize in class PDUobjIDicomStream - dicom stream to which Abort PDU has to be serialized.java.io.IOException - Signals that an IO Exception has occurred.SerializeException - Signals that an Serialize Exception has occurred.