public class AssociateRJPDU extends PDU
| Constructor and Description |
|---|
AssociateRJPDU() |
| Modifier and Type | Method and Description |
|---|---|
int |
getLength()
This function gets the length of Associate RJ PDU
|
byte |
getReason()
Gets the reason.
|
byte |
getResult()
Gets the result.
|
byte |
getSource()
Gets the source.
|
void |
parse(IDicomStream objIDicomStream)
This method parses this PDU from the given Stream.
|
void |
serialize(IDicomStream objIDicomStream)
This method serialize this PDU from the given Stream.
|
void |
setReason(EnumRejectReason enumRejectReason)
Sets the reason.
|
void |
setResult(EnumRejectResult enumResult)
Sets the result.
|
void |
setSource(EnumRejectSource enumRejectSource)
Sets the source.
|
getPDUType, setPDUTypepublic byte getReason()
public void setReason(EnumRejectReason enumRejectReason)
enumRejectReason - byte value of the reason.public byte getResult()
public void setResult(EnumRejectResult enumResult)
enumResult - byte value of result.public byte getSource()
public void setSource(EnumRejectSource enumRejectSource)
enumRejectSource - enum value of sourcepublic int getLength()
public void parse(IDicomStream objIDicomStream) throws java.io.IOException, ParseException
parse in class PDUobjIDicomStream - Stream on which the DICOM data is available.ParseException - Signals that parse exception is occurred.java.io.IOException - Signals that IO Exception is occurred.public void serialize(IDicomStream objIDicomStream) throws java.io.IOException, SerializeException
serialize in class PDUobjIDicomStream - Stream on which the DICOM data is to be written.java.io.IOException - Signals that IOException is occurred.SerializeException - Signals that Serialize Exception occurred.