Trispark JDT
2.50.13

com.archimed.dicom.scu
Interface SCU

All Known Subinterfaces:
CEchoSCU, MultiCFindSCU, MultiCMoveSCU, MultiCStoreSCU

public interface SCU

Base SCU. Recommended usage:


Method Summary
 void abort(int source, int reason)
           
 void addSCUProgressListener(SCUProgressListener scuProgressListener)
          adds a listener that can be informed of SCU message exchanges
 AssociationResult associate()
          executes an A-ASSOCIATE message exchange.
 AssociationResult associate(AssociationRequest associationRequest)
          executes an A-ASSOCIATE message exchange.
 void cancel(boolean graceful)
          Cancels the current and future SCU message exchanges.
 AssociationRequest createAssociationRequest()
          scans the input (if appropriate) and prepares a request that can be sent during association setup
 javax.net.SocketFactory getSocketFactory()
           
 boolean isCancelled()
          has this SCU been cancelled ?
 void release()
          executes an A-RELEASE message exchange
 void removeSCUProgressListener(SCUProgressListener scuProgressListener)
          removes a registered progress listener
 void setSocketFactory(javax.net.SocketFactory socketFactory)
           
 

Method Detail

createAssociationRequest

AssociationRequest createAssociationRequest()
                                            throws SCUException
scans the input (if appropriate) and prepares a request that can be sent during association setup

Returns:
the request that will be used for association setup
Throws:
SCUException

associate

AssociationResult associate()
                            throws SCUException,
                                   java.io.IOException
executes an A-ASSOCIATE message exchange. Make sure that createAssociationRequest() has been executed first.

Returns:
the result of the association setup
Throws:
SCUException
java.io.IOException

associate

AssociationResult associate(AssociationRequest associationRequest)
                            throws SCUException,
                                   java.io.IOException
executes an A-ASSOCIATE message exchange. Make sure that createAssociationRequest() has been executed first.

Returns:
the result of the association setup
Throws:
SCUException
java.io.IOException

release

void release()
             throws SCUException,
                    java.io.IOException
executes an A-RELEASE message exchange

Throws:
SCUException
java.io.IOException

cancel

void cancel(boolean graceful)
Cancels the current and future SCU message exchanges. After this method has been called, this SCU cannot be used anymore for any message exchange

Parameters:
graceful - if true, the SCU will be cancelled after the current operation and will release the association properly; if false, the current operation will be interrupted and the association will be aborted without a proper message exchange

isCancelled

boolean isCancelled()
has this SCU been cancelled ?

See Also:
cancel(boolean)

addSCUProgressListener

void addSCUProgressListener(SCUProgressListener scuProgressListener)
adds a listener that can be informed of SCU message exchanges

Parameters:
scuProgressListener - the listener

removeSCUProgressListener

void removeSCUProgressListener(SCUProgressListener scuProgressListener)
removes a registered progress listener

Parameters:
scuProgressListener - the listener

abort

void abort(int source,
           int reason)
           throws java.io.IOException,
                  SCUException
Throws:
java.io.IOException
SCUException

getSocketFactory

javax.net.SocketFactory getSocketFactory()

setSocketFactory

void setSocketFactory(javax.net.SocketFactory socketFactory)

Trispark JDT
2.50.13

Copyright © 1999-2008 Trispark. All Rights Reserved.