|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.dicom4j.network.protocoldataunit.support.ProtocolDataUnit
org.dicom4j.network.protocoldataunit.support.AssociateRQACPDU
org.dicom4j.network.protocoldataunit.AssociateACPDU
public class AssociateACPDU
ASSOCIATE-AC
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.dicom4j.network.protocoldataunit.support.ProtocolDataUnit |
|---|
ProtocolDataUnit.Types |
| Constructor Summary | |
|---|---|
AssociateACPDU()
Creates a new ASSOCIATE-AC PDU |
|
AssociateACPDU(String calledAETitle,
String callingAETitle)
Create a new Associate-AC PDU |
|
| Method Summary | |
|---|---|
void |
addPresentationContext(byte aID,
byte aReason,
String aTransferSyntax)
Add a new PresentationContext |
void |
addPresentationContext(byte aID,
byte aReason,
TransferSyntax aTransferSyntax)
Add a new PresentationContext |
PresentationContextItemAC |
addPresentationContextItem(PresentationContextItemAC item)
Add a new Presentation Context AC Item |
String |
getName()
Return the name of the Protocol Data Unit |
LinkedList |
getPresentationContextItemAC()
Retur the Presentation Context Items |
ProtocolDataUnitType |
getType()
return the type of the Protocol Data Unit
TODO change to ProtocolType |
void |
read(BinaryInputStream aStream,
int aLength)
Read the Protocol Data Unit from a stream |
void |
write(BinaryOutputStream aStream)
Write the Protocol Data Unit to a stream |
| Methods inherited from class org.dicom4j.network.protocoldataunit.support.AssociateRQACPDU |
|---|
getApplicationContextItem, getCalledAETitle, getCallingAETitle, getLength, getPresentationIterator, getProtocolVersion, getUserInformationItem, setApplicationContext, setCalledAET, setCallingAET, setUserInformations, toString |
| Methods inherited from class org.dicom4j.network.protocoldataunit.support.ProtocolDataUnit |
|---|
checkStream, getSopClassRegistry, setSopClassRegistry, toBytes, typetoString |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public AssociateACPDU()
public AssociateACPDU(String calledAETitle,
String callingAETitle)
calledAETitle - The called AETcallingAETitle - The Calling AET| Method Detail |
|---|
public void addPresentationContext(byte aID,
byte aReason,
String aTransferSyntax)
aID - the IDaReason - the ReasonaTransferSyntax - the TransferSyntax UID
public void addPresentationContext(byte aID,
byte aReason,
TransferSyntax aTransferSyntax)
aID - the IDaReason - the ReasonaTransferSyntax - the TransferSyntaxpublic PresentationContextItemAC addPresentationContextItem(PresentationContextItemAC item)
aItem - the item
public String getName()
ProtocolDataUnit
getName in interface ProtocolDataUnitgetName in class ProtocolDataUnitpublic LinkedList getPresentationContextItemAC()
public ProtocolDataUnitType getType()
ProtocolDataUnit
return the type of the Protocol Data Unit
getType in interface ProtocolDataUnitgetType in class ProtocolDataUnit
public void read(BinaryInputStream aStream,
int aLength)
throws DicomException,
IOException
ProtocolDataUnit
read in class AssociateRQACPDUDicomException
IOException
public void write(BinaryOutputStream aStream)
throws DicomException,
IOException
ProtocolDataUnit
write in class AssociateRQACPDUDicomException
IOException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||