public interface MultiCStoreProgressListener
MultiCStoreSCU
Modifier and Type | Method and Description |
---|---|
void |
bytesSent(long numberOfBytesSent)
will be called every time a buffer of bytes has been sent to the remote AE.
|
void |
bytesTotal(long totalNumberOfBytes)
will be called right before the C-STORE items will be sent.
|
void |
itemStored(CStoreItemResult storeItemResult)
will be called every time an item has been sent to the remote AE.
|
void |
itemWillStore(AssociationItem associationItem,
DicomObject dataset)
will be called every time the sending of an item to the remote AE will be started.
|
void bytesSent(long numberOfBytesSent)
numberOfBytesSent
- the accumulative total number of bytes that have been sent.void bytesTotal(long totalNumberOfBytes)
totalNumberOfBytes
- the total number of bytes that will be sent to the remote AE.void itemWillStore(AssociationItem associationItem, DicomObject dataset) throws StoreContinueVetoException
associationItem
- the item that will be sentdataset
- a reference to the actual DicomObject that will be sentStoreContinueVetoException
- throw this if you want to interrupt the current C-STORE operation.void itemStored(CStoreItemResult storeItemResult) throws StoreContinueVetoException
storeItemResult
- the result of the C-STORE operation of 1 item.StoreContinueVetoException
- throw this if you want to interrupt the current C-STORE operation.