com.archimed.dicom.scu
Class CFindSCUFactory
java.lang.Object
com.archimed.dicom.scu.SCUFactory
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.
|
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
protected static JdtLogger log
CFindSCUFactory
public CFindSCUFactory()
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 - Stringport - intcalledAE - StringcallingAE - StringsopClassUID - SOPClassUIDidentifier - DicomObjecthandler - 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 - Stringport - intcallingAE - StringcalledAE - StringsopClassUID - 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 - SocketcallingAE - StringcalledAE - StringsopClassUID - 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)
Copyright © 1999-2008 Trispark. All Rights Reserved.