com.goldenhammer.dicom
Interface Command

All Known Subinterfaces:
CEchoCommand, CStoreImageCommand
All Known Implementing Classes:
CEcho, CStoreImage, DCM4CHECommand

public interface Command

This interface represents an abstract command.


Method Summary
 void close()
          This method completes all necessary steps to close this command down
 void execute()
          Executes this command.
 

Method Detail

execute

public void execute()
             throws java.lang.Exception
Executes this command.

Throws:
java.lang.Exception - if a problem occurs during execution

close

public void close()
           throws java.lang.InterruptedException,
                  java.io.IOException
This method completes all necessary steps to close this command down

Throws:
java.lang.InterruptedException - thrown if this command cannot be closed
java.io.IOException - thrown if this command cannot be closed