public abstract class AssociateRQOrACPDU extends PDU
| Constructor and Description |
|---|
AssociateRQOrACPDU()
Instantiates a new associate RQ or AC PDU.
|
| Modifier and Type | Method and Description |
|---|---|
AppContextItem |
getAppContextItem()
Gets the application context item.
|
java.lang.String |
getCalledAETitle()
Gets the called AE title.
|
java.lang.String |
getCallingAETitle()
Gets the calling ae title.
|
abstract int |
getLength()
Gets the length of Associate RQ or AC PDU.
|
short |
getProtocolVersion()
Gets the protocol version.
|
void |
parse(IDicomStream objIDicomStream)
Parses the Associate RQ or AC PDU.
|
void |
serialize(IDicomStream objIDicomStream)
This method writes the Data Value to the given Stream.
|
void |
setAppContextItem(AppContextItem objAppContextItem)
Sets the application context item.
|
void |
setCalledAETitle(java.lang.String strCalledAETitle)
Sets the called AE title.
|
void |
setCallingAETitle(java.lang.String strCallingAETitle)
Sets the calling ae title.
|
void |
setProtocolVersion(short shProtocolVersion)
Sets the protocol version.
|
getPDUType, setPDUTypepublic AssociateRQOrACPDU()
public AppContextItem getAppContextItem()
public void setAppContextItem(AppContextItem objAppContextItem)
objAppContextItem - object of Application context item.public short getProtocolVersion()
public void setProtocolVersion(short shProtocolVersion)
shProtocolVersion - short value of protocol versionpublic java.lang.String getCalledAETitle()
public void setCalledAETitle(java.lang.String strCalledAETitle)
strCalledAETitle - String value of called AE titlepublic java.lang.String getCallingAETitle()
public void setCallingAETitle(java.lang.String strCallingAETitle)
strCallingAETitle - String value of Called Calling Title.public abstract int getLength()
public void parse(IDicomStream objIDicomStream) throws java.io.IOException, ParseException
parse in class PDUobjIDicomStream - The dicom stream on which Associate RQ or AC PDU is written.java.io.IOException - Signals that an I/O exception has occurred.ParseException - Signals that Parse Exception has occurred.public void serialize(IDicomStream objIDicomStream) throws java.io.IOException, SerializeException
serialize in class PDUobjIDicomStream - object of the stream onto which this PDU is to be written.java.io.IOException - Signals that IO Exception has occurred.SerializeException - Signals that Serialize Exception has occurred.