org.dicom4j.network.association.associate
Class AssociateRequest

java.lang.Object
  extended by org.dicom4j.network.association.associate.AssociatePrimitive
      extended by org.dicom4j.network.association.associate.support.AssociateRQRSP
          extended by org.dicom4j.network.association.associate.AssociateRequest

public class AssociateRequest
extends AssociateRQRSP

A-ASSOCIATE request

Warning: currently use Dicom4jImplementation.Instance(). This behavior will change in the future, so use AssociatePrimitiveFactory to create new instances)

Since:
0.0.0
Author:
Laurent Lecomte

Constructor Summary
AssociateRequest()
           
AssociateRequest(AssociateRQPDU aAssociateRQPDU)
           
AssociateRequest(String aCalledAET, String aCallingAET)
           
 
Method Summary
 byte addPresentationContext(SOPClass aAbstractSyntax, TransferSyntax aTransferSyntax)
          add a PresentationContext
 byte addPresentationContext(String aAbstractSyntax, TransferSyntax aTransferSyntax)
          Add a PresentationContext
 byte addPresentationContext(String aAbstractSyntax, TransferSyntax[] aTransferSyntaxes)
          Add a PresentationContext
 byte getPresentationContextId(String aAbstractSyntax)
          retrun a PresentationContextId depending of an AbstractSyntax
 Iterator<PresentationContextItem> getPresentationIterator()
           
 
Methods inherited from class org.dicom4j.network.association.associate.support.AssociateRQRSP
addScpScuRoleSelection, getApplicationContext, getAsynchronousOperationsWindow, getCalledAET, getCallingAET, getImplementationClassUID, getImplementationVersionName, getMaximumNumberOperationsInvoked, getMaximumNumberOperationsPerformed, getMaximumPDUSize, setApplicationContext, setCalledAET, setCallingAET, setClassUID, setImplementationClassUID, setImplementationVersionName, setMaximumNumberOperationsInvoked, setMaximumNumberOperationsPerformed, setMaximumPDUSize
 
Methods inherited from class org.dicom4j.network.association.associate.AssociatePrimitive
getProtocolDataUnit, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AssociateRequest

public AssociateRequest()

AssociateRequest

public AssociateRequest(AssociateRQPDU aAssociateRQPDU)

AssociateRequest

public AssociateRequest(String aCalledAET,
                        String aCallingAET)
Method Detail

addPresentationContext

public byte addPresentationContext(SOPClass aAbstractSyntax,
                                   TransferSyntax aTransferSyntax)
add a PresentationContext

Parameters:
aSOPClass - the SOPClass
aTransferSyntax - the TransferSyntax
Returns:
the PresentationContext ID

addPresentationContext

public byte addPresentationContext(String aAbstractSyntax,
                                   TransferSyntax aTransferSyntax)
Add a PresentationContext

Parameters:
aAbstractSyntax - an AbstractSyntax
aTransferSyntax - the TransfertSyntax
Returns:
the PresentationContext ID

addPresentationContext

public byte addPresentationContext(String aAbstractSyntax,
                                   TransferSyntax[] aTransferSyntaxes)
Add a PresentationContext

Parameters:
aAbstractSyntax - an AbstractSyntax
aTransferSyntaxes - the TransfertSyntaxes
Returns:
the PresentationContext ID

getPresentationContextId

public byte getPresentationContextId(String aAbstractSyntax)
retrun a PresentationContextId depending of an AbstractSyntax

Parameters:
the - AbstractSyntax
Returns:
the PresentationContextId (-1 if no PresentationContext was found)

getPresentationIterator

public Iterator<PresentationContextItem> getPresentationIterator()


Copyright © 2009 dicom4j. All Rights Reserved.