org.dicom4j.network.dimse.codec
Class DimseMessageDecoder

java.lang.Object
  extended by org.dicom4j.network.dimse.codec.DimseMessageDecoder

public class DimseMessageDecoder
extends Object

Decode PDataTFPDU(s) into DimseMessage

Since:
0.0.0
Author:
Laurent Lecomte

Constructor Summary
DimseMessageDecoder(Association aAssociation)
          Creates new Decoder
 
Method Summary
 void clear()
           
 void decode(PDataTFPDU aPdata)
          Decode the PDataPDU
 Association getAssociation()
           
 AbstractDimseMessage getDecodedMessage()
           
 DimseMessageFactory getMessageFactory()
           
 byte getPresentationContextID()
           
 boolean isDone()
          Return true if all PDataPDU of a Dimse Message has been read
 void setMessageFactory(DimseMessageFactory aMessageFactory)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DimseMessageDecoder

public DimseMessageDecoder(Association aAssociation)
Creates new Decoder

Parameters:
aAssociation -
Method Detail

clear

public void clear()

decode

public void decode(PDataTFPDU aPdata)
            throws Exception
Decode the PDataPDU

Parameters:
aPdata - the PDU to decode
Throws:
Exception

getAssociation

public Association getAssociation()

getDecodedMessage

public AbstractDimseMessage getDecodedMessage()
                                       throws Exception
Throws:
Exception

getMessageFactory

public DimseMessageFactory getMessageFactory()

getPresentationContextID

public byte getPresentationContextID()

isDone

public boolean isDone()
Return true if all PDataPDU of a Dimse Message has been read

Returns:

setMessageFactory

public void setMessageFactory(DimseMessageFactory aMessageFactory)


Copyright © 2009 dicom4j. All Rights Reserved.