Trispark JDT
2.50.13

com.archimed.dicom.scu
Class BasicMultiCStoreProgressListener

java.lang.Object
  extended by com.archimed.dicom.scu.BasicMultiCStoreProgressListener
All Implemented Interfaces:
MultiCStoreProgressListener

public class BasicMultiCStoreProgressListener
extends java.lang.Object
implements MultiCStoreProgressListener

A default empty implementation of MultiCStoreProgressListener


Constructor Summary
BasicMultiCStoreProgressListener()
           
 
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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BasicMultiCStoreProgressListener

public BasicMultiCStoreProgressListener()
Method Detail

bytesSent

public void bytesSent(long numberOfBytesSent)
Description copied from interface: MultiCStoreProgressListener
will be called every time a buffer of bytes has been sent to the remote AE.

Specified by:
bytesSent in interface MultiCStoreProgressListener
Parameters:
numberOfBytesSent - the accumulative total number of bytes that have been sent.

bytesTotal

public void bytesTotal(long totalNumberOfBytes)
Description copied from interface: MultiCStoreProgressListener
will be called right before the C-STORE items will be sent.

Specified by:
bytesTotal in interface MultiCStoreProgressListener
Parameters:
totalNumberOfBytes - the total number of bytes that will be sent to the remote AE.

itemWillStore

public void itemWillStore(AssociationItem associationItem)
                   throws StoreContinueVetoException
Description copied from interface: MultiCStoreProgressListener
will be called every time the sending of an item to the remote AE will be started.

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

itemStored

public void itemStored(CStoreItemResult storeItemResult)
                throws StoreContinueVetoException
Description copied from interface: MultiCStoreProgressListener
will be called every time an item has been sent to the remote AE.

Specified by:
itemStored in interface MultiCStoreProgressListener
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.