public class ACPresContextItem extends PresContextItem
| Constructor and Description |
|---|
ACPresContextItem()
This constructor initializes ACPresContextItem with its Item Type.
|
| Modifier and Type | Method and Description |
|---|---|
short |
getItemLength()
Retrieves length of this Item.
|
byte |
getReason()
Retrieves value of Reason which shows status of Association.
|
TransferSyntaxItem |
getTransferSyntaxItem()
Retrieves Transfer Syntax Item related to the proposed presentation
context.
|
void |
parse(IDicomStream objIDicomStream)
This method parses this Item from the given Stream.
|
void |
serialize(IDicomStream objIDicomStream)
This method serialize this Item from the given Stream.
|
void |
setReason(EnumACKReason enumACKReason)
Sets value of Reason which shows status of Association.
|
void |
setTransferSyntaxItem(TransferSyntaxItem objTransferSyntaxItem)
Sets TransferSyntaxItem related to the proposed presentation context.
|
getPresContextId, populate, setPresContextIdgetItemType, setItemTypepublic ACPresContextItem()
public byte getReason()
public void setReason(EnumACKReason enumACKReason)
enumACKReason - value of Reasonpublic TransferSyntaxItem getTransferSyntaxItem()
public void setTransferSyntaxItem(TransferSyntaxItem objTransferSyntaxItem)
objTransferSyntaxItem - value of Abstract-syntax-namepublic short getItemLength()
getItemLength in class PresContextItempublic void parse(IDicomStream objIDicomStream) throws java.io.IOException, ParseException
parse in class PresContextItemobjIDicomStream - Stream on which the DICOM data is available.ParseException - Signals that Parse Exception has occurred.java.io.IOException - Signals that an IO Exception has occurred.public void serialize(IDicomStream objIDicomStream) throws java.io.IOException, SerializeException
serialize in class PresContextItemobjIDicomStream - Stream on which the DICOM data is available.java.io.IOException - Signals that an IO Exception has occurred.SerializeException - Signals that an Serialize Exception has occurred.