|
|||||||||
| 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.AssociateRJPDU
public class AssociateRJPDU
A-ASSOCIATE-RJ PDU (see DICOM PS 3.8)
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.dicom4j.network.protocoldataunit.support.ProtocolDataUnit |
|---|
ProtocolDataUnit.Types |
| Constructor Summary | |
|---|---|
AssociateRJPDU()
|
|
AssociateRJPDU(BinaryInputStream aReader,
int aLength)
Deprecated. |
|
AssociateRJPDU(byte aResult,
byte aSource,
byte aReason)
|
|
| Method Summary | |
|---|---|
int |
getLength()
Return the length of the Protocol Data Unit |
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()
the ProtocolDataUnit 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, getName, getSopClassRegistry, setSopClassRegistry, toBytes, typetoString |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public AssociateRJPDU()
@Deprecated
public AssociateRJPDU(BinaryInputStream aReader,
int aLength)
throws DicomException,
IOException
aReader - The stream
DicomNetworkException
DicomException
IOException
public AssociateRJPDU(byte aResult,
byte aSource,
byte aReason)
aResult - aSource - aReason - | Method Detail |
|---|
public int getLength()
ProtocolDataUnit
getLength in interface ProtocolDataUnitgetLength in class ProtocolDataUnitpublic 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()
ProtocolDataUnit
toString in interface ProtocolDataUnittoString in class ProtocolDataUnit
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||