public class AssociateRQPDU extends AssociateRQOrACPDU
| Constructor and Description |
|---|
AssociateRQPDU()
Instantiates a new Associate RQ PDU.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getLength()
Retrieves length of this PDU.
|
IPairedCollection<java.lang.Byte,RQPresContextItem> |
getRQPresContextItemCollection()
Retrieves collection of RQPresContextItem.
|
RQUserInfoItem |
getRQUserInfoItem()
Retrieves instance of Request User Info Item.
|
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 |
setRQPresContextItemCollection(IPairedCollection<java.lang.Byte,RQPresContextItem> objRQPresContextItemCollection)
Sets collection of RQPresContextItem.
|
void |
setRQUserInfoItem(RQUserInfoItem objRQUserInfoItem)
Sets Request User Info Item.
|
getAppContextItem, getCalledAETitle, getCallingAETitle, getProtocolVersion, setAppContextItem, setCalledAETitle, setCallingAETitle, setProtocolVersiongetPDUType, setPDUTypepublic IPairedCollection<java.lang.Byte,RQPresContextItem> getRQPresContextItemCollection()
public void setRQPresContextItemCollection(IPairedCollection<java.lang.Byte,RQPresContextItem> objRQPresContextItemCollection)
objRQPresContextItemCollection - collection of RQPresContextItem.public RQUserInfoItem getRQUserInfoItem()
public void setRQUserInfoItem(RQUserInfoItem objRQUserInfoItem)
objRQUserInfoItem - object of RQUserInfoItempublic int getLength()
getLength in class AssociateRQOrACPDUpublic void parse(IDicomStream objIDicomStream) throws java.io.IOException, ParseException
parse in class AssociateRQOrACPDUobjIDicomStream - 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 AssociateRQOrACPDUobjIDicomStream - Stream on which the DICOM data is to be written.java.io.IOException - Signals that IOException is occurred.SerializeException - Signals that Serialize Exception occurred.