public class AReleaseRQorRPPDU extends PDU
| Modifier and Type | Field and Description |
|---|---|
static int |
ARELEASE_RQORRP_LENGTH
The Constant ARelease RQ or RP PDU.
|
| Constructor and Description |
|---|
AReleaseRQorRPPDU(EnumPDUType enumPDUType)
Instantiates a new ARelease RQ or RP PDU.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getLength()
This function gets the length of this PDU.
|
void |
parse(IDicomStream objIDicomStream)
Parses the ARelease RQ or RP PDU.
|
void |
serialize(IDicomStream objIDicomStream)
This method writes the Data Value to the given Stream.
|
getPDUType, setPDUTypepublic static final int ARELEASE_RQORRP_LENGTH
public AReleaseRQorRPPDU(EnumPDUType enumPDUType)
enumPDUType - enum value of PDU Type.public void parse(IDicomStream objIDicomStream) throws java.io.IOException, ParseException
parse in class PDUobjIDicomStream - object of dicom stream on which data is available.java.io.IOException - Signals that IO Exception has occurred.ParseException - Signals that Parse Exception has occurred.public void serialize(IDicomStream objIDicomStream) throws java.io.IOException, SerializeException
serialize in class PDUobjIDicomStream - object of the stream onto which this PDU is to be written.java.io.IOException - Signals that IO Exception has occurred.SerializeException - Signals that Serialize Exception has occurred.