org.dicom4j.network.protocoldataunit
Class ProtocolDataUnitFactory
java.lang.Object
org.dicom4j.network.protocoldataunit.ProtocolDataUnitFactory
public class ProtocolDataUnitFactory
- extends Object
Factory to create ProtocolDataUnit
- Since:
- 0.0.2
- Author:
- Laurent Lecomte
ProtocolDataUnitFactory
public ProtocolDataUnitFactory()
newProtocolDataUnit
public ProtocolDataUnit newProtocolDataUnit(byte type)
throws UnrecognizedPDUException
- creates a new
ProtocolDataUnit depending of the supplied type (as byte)
- Parameters:
type - the type of PDU
- Returns:
- the new PDU
- Throws:
UnrecognizedPDUException - if type doesn't match to a valid PDU
Copyright © 2009 dicom4j. All Rights Reserved.