|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.dicom4j.network.protocoldataunit.support.ProtocolDataUnit
org.dicom4j.network.protocoldataunit.AAbortPDU
public class AAbortPDU
A-ABORT PDU
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.dicom4j.network.protocoldataunit.support.ProtocolDataUnit |
|---|
ProtocolDataUnit.Types |
| Constructor Summary | |
|---|---|
AAbortPDU()
Creates a A-ABORT |
|
AAbortPDU(BinaryInputStream aStream,
int aLength)
Deprecated. |
|
AAbortPDU(byte aSource,
byte aReason)
Creates a A-ABORT |
|
| Method Summary | |
|---|---|
int |
getLength()
Return the length of the Protocol Data Unit |
String |
getName()
Return the name of the Protocol Data Unit |
byte |
getReason()
Return the reason of the A-Abort |
byte |
getSource()
Return the source of the A-Abort |
ProtocolDataUnitType |
getType()
return the type of the Protocol Data Unit
TODO change to ProtocolType |
void |
read(BinaryInputStream stream,
int length)
Read the Protocol Data Unit from a stream |
String |
toString()
Return the PDU as a string |
void |
write(BinaryOutputStream aStream)
Write the Protocol Data Unit to a stream |
| Methods inherited from class org.dicom4j.network.protocoldataunit.support.ProtocolDataUnit |
|---|
checkStream, getSopClassRegistry, setSopClassRegistry, toBytes, typetoString |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public AAbortPDU()
public AAbortPDU(BinaryInputStream aStream,
int aLength)
throws DicomException,
IOException
aStream - the streamaLength - length to read
DicomException
IOException
public AAbortPDU(byte aSource,
byte aReason)
aSource - the sourceaReason - the reason| Method Detail |
|---|
public int getLength()
ProtocolDataUnit
getLength in interface ProtocolDataUnitgetLength in class ProtocolDataUnitpublic String getName()
ProtocolDataUnit
getName in interface ProtocolDataUnitgetName in class ProtocolDataUnitpublic byte getReason()
public byte getSource()
public ProtocolDataUnitType getType()
ProtocolDataUnit
return the type of the Protocol Data Unit
getType in interface ProtocolDataUnitgetType in class ProtocolDataUnit
public void read(BinaryInputStream stream,
int length)
throws DicomException,
IOException
ProtocolDataUnit
read in class ProtocolDataUnitDicomException
IOException
public void write(BinaryOutputStream aStream)
throws DicomException,
IOException
ProtocolDataUnit
write in class ProtocolDataUnitDicomException
IOExceptionpublic String toString()
toString in interface ProtocolDataUnittoString in class ProtocolDataUnit
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||