Trispark JDT
2.50.13

com.archimed.dicom.scu
Interface MultiCStoreProgressListener

All Known Implementing Classes:
BasicMultiCStoreProgressListener

public interface MultiCStoreProgressListener

A listener that is notified of C-STORE progress.

See Also:
MultiCStoreSCU

Method Summary
 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)
          will be called every time the sending of an item to the remote AE will be started.
 

Method Detail

bytesSent

void bytesSent(long numberOfBytesSent)
will be called every time a buffer of bytes has been sent to the remote AE.

Parameters:
numberOfBytesSent - the accumulative total number of bytes that have been sent.

bytesTotal

void bytesTotal(long totalNumberOfBytes)
will be called right before the C-STORE items will be sent.

Parameters:
totalNumberOfBytes - the total number of bytes that will be sent to the remote AE.

itemWillStore

void itemWillStore(AssociationItem associationItem)
                   throws StoreContinueVetoException
will be called every time the sending of an item to the remote AE will be started.

Parameters:
associationItem - the item that will be sent
Throws:
StoreContinueVetoException - throw this if you want to interrupt the current C-STORE operation.

itemStored

void itemStored(CStoreItemResult storeItemResult)
                throws StoreContinueVetoException
will be called every time an item has been sent to the remote AE.

Parameters:
storeItemResult - the result of the C-STORE operation of 1 item.
Throws:
StoreContinueVetoException - throw this if you want to interrupt the current C-STORE operation.

Trispark JDT
2.50.13

Copyright © 1999-2008 Trispark. All Rights Reserved.