org.dicom4j.network.protocoldataunit
Class AReleaseRQPDU

java.lang.Object
  extended by org.dicom4j.network.protocoldataunit.support.ProtocolDataUnit
      extended by org.dicom4j.network.protocoldataunit.support.AbstractAReleasePDU
          extended by org.dicom4j.network.protocoldataunit.AReleaseRQPDU
All Implemented Interfaces:
ProtocolDataUnit

public class AReleaseRQPDU
extends AbstractAReleasePDU

A-RELEASE-RQ PDU (see DICOM PS 3.8)

Since:
0.0.0
Author:
Laurent Lecomte

Nested Class Summary
 
Nested classes/interfaces inherited from class org.dicom4j.network.protocoldataunit.support.ProtocolDataUnit
ProtocolDataUnit.Types
 
Constructor Summary
AReleaseRQPDU()
          Creates a A-Release-RQ PDU
AReleaseRQPDU(BinaryInputStream aStream, int aLength)
          Creates a A-RELEASE-RQ PDU
 
Method Summary
 ProtocolDataUnitType getType()
           return the type of the Protocol Data Unit TODO change to ProtocolType
 String toString()
          The PDU as a string
 
Methods inherited from class org.dicom4j.network.protocoldataunit.support.AbstractAReleasePDU
getLength, read, write
 
Methods inherited from class org.dicom4j.network.protocoldataunit.support.ProtocolDataUnit
checkStream, getName, getSopClassRegistry, setSopClassRegistry, toBytes, typetoString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AReleaseRQPDU

public AReleaseRQPDU()
Creates a A-Release-RQ PDU


AReleaseRQPDU

public AReleaseRQPDU(BinaryInputStream aStream,
                     int aLength)
              throws DicomException,
                     IOException
Creates a A-RELEASE-RQ PDU

Parameters:
aStream - the stream
aLength - the length to read
Throws:
DicomException
IOException
Method Detail

getType

public ProtocolDataUnitType getType()
Description copied from class: ProtocolDataUnit

return the type of the Protocol Data Unit

TODO change to ProtocolType

Specified by:
getType in interface ProtocolDataUnit
Specified by:
getType in class ProtocolDataUnit
Returns:
the type

toString

public String toString()
The PDU as a string

Specified by:
toString in interface ProtocolDataUnit
Overrides:
toString in class ProtocolDataUnit
Returns:
ProtocolDataUnit as string


Copyright © 2009 dicom4j. All Rights Reserved.