Skip to main content

EnsLib.DICOM.Util.OutputStreamAdapter

This class knows how to insert the required DICOM protocol control structures into a stream

Property Inventory

Method Inventory

Properties

property Adapter as EnsLib.DICOM.Adapter.TCP;
This holds a reference to the adapter
Property methods: AdapterGet(), AdapterGetSwizzled(), AdapterIsValid(), AdapterNewObject(), AdapterSet()
property BUFF as %String;
This Buffers the wire data so that the last fragment indicator can be set appropriately. (The standard says an empty last fragment is NOT permitted)
Property methods: BUFFDisplayToLogical(), BUFFGet(), BUFFIsValid(), BUFFLogicalToDisplay(), BUFFLogicalToOdbc(), BUFFNormalize(), BUFFSet()
property ContFragment as %Integer;
This holds the continuation fragment indicator
Property methods: ContFragmentDisplayToLogical(), ContFragmentGet(), ContFragmentIsValid(), ContFragmentLogicalToDisplay(), ContFragmentNormalize(), ContFragmentSet()
property ContextId as %Integer;
This holds the context id
Property methods: ContextIdDisplayToLogical(), ContextIdGet(), ContextIdIsValid(), ContextIdLogicalToDisplay(), ContextIdNormalize(), ContextIdSet()
property LastFragment as %Integer;
This holds the last fragment indicator
Property methods: LastFragmentDisplayToLogical(), LastFragmentGet(), LastFragmentIsValid(), LastFragmentLogicalToDisplay(), LastFragmentNormalize(), LastFragmentSet()
property MaxPdvLen as %Integer;
This holds the max pdv len
Property methods: MaxPdvLenDisplayToLogical(), MaxPdvLenGet(), MaxPdvLenIsValid(), MaxPdvLenLogicalToDisplay(), MaxPdvLenNormalize(), MaxPdvLenSet()
property PDV as %String;
This holds the PDV being built
Property methods: PDVDisplayToLogical(), PDVGet(), PDVIsValid(), PDVLogicalToDisplay(), PDVLogicalToOdbc(), PDVNormalize(), PDVSet()
property SpaceRemaining as %Integer;
This holds the space remaining counter
Property methods: SpaceRemainingDisplayToLogical(), SpaceRemainingGet(), SpaceRemainingIsValid(), SpaceRemainingLogicalToDisplay(), SpaceRemainingNormalize(), SpaceRemainingSet()

Methods

method CopyFrom(pStream) as %Status
This method copies data from the passed stream
method SendLastFragment() as %Status
This method ensures that a packet with the last fragment flag is sent out, even if there is no data remaining
method Write(pData As %String) as %Status
This method inserts control data at the requisite points, otherwise it delegates to the adapted stream

Inherited Members

Inherited Methods

FeedbackOpens in a new tab