Trispark JDT
2.50.13

com.archimed.dicom.scu
Class CFindSCUFactory

java.lang.Object
  extended by com.archimed.dicom.scu.SCUFactory
      extended by com.archimed.dicom.scu.CFindSCUFactory

public class CFindSCUFactory
extends SCUFactory

factory class that has methods for creating CFindSCU objects and for executing a complete C-FIND operation in one method call.


Field Summary
protected static JdtLogger log
           
 
Constructor Summary
CFindSCUFactory()
           
 
Method Summary
static CFindSCU createCFindSCU(java.net.Socket socket, java.lang.String callingAE, java.lang.String calledAE, SOPClassUID sopClassUID)
          tries to establish an association on the specified socket and returns a newly created CFindSCU object on the established assocition.The socket must be newly created with no IO operations performed on it as yet.
static CFindSCU createCFindSCU(java.lang.String host, int port, java.lang.String callingAE, java.lang.String calledAE, SOPClassUID sopClassUID)
          creates a Socket and calls createCFindSCU(Socket,String,String,SOPClassUID)
static MultiCFindSCU createMultiCFindSCU(java.lang.String host, int port, java.lang.String calledAETitle, java.lang.String localAETitle)
           
static java.util.Collection executeCFind(java.lang.String host, int port, java.lang.String calledAE, java.lang.String callingAE, SOPClassUID sopClassUID, DicomObject identifier, CFindSCU.ResponseHandler handler)
          executes a complete C-FIND operation in one method call, including association setup, the C-FIND message exchange and association release.
 
Methods inherited from class com.archimed.dicom.scu.SCUFactory
getMessageID, release
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

protected static JdtLogger log
Constructor Detail

CFindSCUFactory

public CFindSCUFactory()
Method Detail

executeCFind

public static java.util.Collection executeCFind(java.lang.String host,
                                                int port,
                                                java.lang.String calledAE,
                                                java.lang.String callingAE,
                                                SOPClassUID sopClassUID,
                                                DicomObject identifier,
                                                CFindSCU.ResponseHandler handler)
                                         throws SCUException,
                                                java.io.IOException
executes a complete C-FIND operation in one method call, including association setup, the C-FIND message exchange and association release.

Parameters:
host - String
port - int
calledAE - String
callingAE - String
sopClassUID - SOPClassUID
identifier - DicomObject
handler - ResponseHandler
Returns:
Collection
Throws:
SCUException
java.io.IOException

createCFindSCU

public static CFindSCU createCFindSCU(java.lang.String host,
                                      int port,
                                      java.lang.String callingAE,
                                      java.lang.String calledAE,
                                      SOPClassUID sopClassUID)
                               throws SCUException,
                                      java.io.IOException
creates a Socket and calls createCFindSCU(Socket,String,String,SOPClassUID)

Parameters:
host - String
port - int
callingAE - String
calledAE - String
sopClassUID - SOPClassUID
Returns:
CFindSCU
Throws:
SCUException
java.io.IOException

createCFindSCU

public static CFindSCU createCFindSCU(java.net.Socket socket,
                                      java.lang.String callingAE,
                                      java.lang.String calledAE,
                                      SOPClassUID sopClassUID)
                               throws SCUException,
                                      java.io.IOException
tries to establish an association on the specified socket and returns a newly created CFindSCU object on the established assocition.The socket must be newly created with no IO operations performed on it as yet. The association is created with a single presentation context with presentation context ID 1.

Parameters:
socket - Socket
callingAE - String
calledAE - String
sopClassUID - SOPClassUID
Returns:
CFindSCU
Throws:
SCUException
java.io.IOException

createMultiCFindSCU

public static MultiCFindSCU createMultiCFindSCU(java.lang.String host,
                                                int port,
                                                java.lang.String calledAETitle,
                                                java.lang.String localAETitle)

Trispark JDT
2.50.13

Copyright © 1999-2008 Trispark. All Rights Reserved.