public class AssociateACPDU extends AssociateRQOrACPDU
| Constructor and Description |
|---|
AssociateACPDU()
Instantiates a new Associate AC PDU.
|
| Modifier and Type | Method and Description |
|---|---|
IPairedCollection<java.lang.Byte,ACPresContextItem> |
getACPresContextItemCollection()
Gets the AC pres context item collection.
|
int |
getLength()
Gets the length of Associate RQ or AC PDU.
|
UserInfoItem |
getUserInfoItem()
Gets the user info item.
|
void |
parse(IDicomStream objIDicomStream)
Parses Associate AC PDU.
|
void |
serialize(IDicomStream objIDicomStream)
This method writes the Data Value to the given Stream.
|
void |
setACPresContextItemCollection(IPairedCollection<java.lang.Byte,ACPresContextItem> objACPresContextItemCollection)
Sets the AC pres context item collection.
|
void |
setUserInfoItem(UserInfoItem objUserInfoItem)
Sets user info item.
|
getAppContextItem, getCalledAETitle, getCallingAETitle, getProtocolVersion, setAppContextItem, setCalledAETitle, setCallingAETitle, setProtocolVersiongetPDUType, setPDUTypepublic IPairedCollection<java.lang.Byte,ACPresContextItem> getACPresContextItemCollection()
public void setACPresContextItemCollection(IPairedCollection<java.lang.Byte,ACPresContextItem> objACPresContextItemCollection)
objACPresContextItemCollection - Collection of AC Presentation Context Item.public UserInfoItem getUserInfoItem()
public void setUserInfoItem(UserInfoItem objUserInfoItem)
objUserInfoItem - object of User Info Item.public int getLength()
getLength in class AssociateRQOrACPDUpublic void parse(IDicomStream objIDicomStream) throws java.io.IOException
parse in class AssociateRQOrACPDUobjIDicomStream - Dicom Stream on which Dicom Data resides.java.io.IOException - Signals that an IO Exception has occurred.public void serialize(IDicomStream objIDicomStream) throws java.io.IOException
serialize in class AssociateRQOrACPDUobjIDicomStream - object of stream onto which this PDU is to be written.java.io.IOException - Signals that IO Exception has occurred.