org.dicom4j.network.protocoldataunit.support
Class AbstractAReleasePDU

java.lang.Object
  extended by org.dicom4j.network.protocoldataunit.support.ProtocolDataUnit
      extended by org.dicom4j.network.protocoldataunit.support.AbstractAReleasePDU
All Implemented Interfaces:
ProtocolDataUnit
Direct Known Subclasses:
AReleaseRPPDU, AReleaseRQPDU

public abstract class AbstractAReleasePDU
extends ProtocolDataUnit

Base class for AReleaseRQPDU and AReleaseRPPDU PDUs

Since:
0.0.0
Author:
Laurent Lecomte

Nested Class Summary
 
Nested classes/interfaces inherited from class org.dicom4j.network.protocoldataunit.support.ProtocolDataUnit
ProtocolDataUnit.Types
 
Method Summary
 int getLength()
          Return the length of the Protocol Data Unit
 void read(BinaryInputStream aStream, int aLength)
          Read the Protocol Data Unit from a stream
 void write(BinaryOutputStream aStream)
          Write the Protocol Data Unit to a stream
 
Methods inherited from class org.dicom4j.network.protocoldataunit.support.ProtocolDataUnit
checkStream, getName, getSopClassRegistry, getType, setSopClassRegistry, toBytes, toString, typetoString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getLength

public int getLength()
Description copied from class: ProtocolDataUnit
Return the length of the Protocol Data Unit

Specified by:
getLength in interface ProtocolDataUnit
Specified by:
getLength in class ProtocolDataUnit
Returns:
the length

read

public void read(BinaryInputStream aStream,
                 int aLength)
          throws DicomException,
                 IOException
Description copied from class: ProtocolDataUnit
Read the Protocol Data Unit from a stream

Specified by:
read in class ProtocolDataUnit
Throws:
DicomException
IOException

write

public void write(BinaryOutputStream aStream)
           throws DicomException,
                  IOException
Description copied from class: ProtocolDataUnit
Write the Protocol Data Unit to a stream

Specified by:
write in class ProtocolDataUnit
Throws:
DicomException
IOException


Copyright © 2009 dicom4j. All Rights Reserved.